RSX Code Reference
    Preparing search index...
    • rsx
    • TerrainSplatmap

    Class TerrainSplatmap

    The TerrainSplatmap class represents four materials and a splatmap texture that determines the weights used to blend the materials together.

    Index
    • Parameters

      • OptionalisInternalConstructor: boolean

      Returns TerrainSplatmap

    • get splatmap(): Texture

      The splatmap texture determines the weights used to blend the materials together.

      Returns Texture

    • set splatmap(value: Texture): void

      The splatmap texture determines the weights used to blend the materials together.

      Parameters

      Returns void

    • Allows modifying this object multiple times in a row in a scope, without marking the object dirty immediately. Dirty flags are accumulated and the object is marked dirty at the end.

      Parameters

      • action: () => void

        The scope where the object is modified.

      Returns void

    onDirty: Event<[dirtyFlags: EnumValue<ManagedSettingsDirtyFlag, number>]>

    Event that is triggered when a member changes.