Class TerrainSplatmap

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

Hierarchy

  • FrameworkObject
    • TerrainSplatmap

Constructors

  • Parameters

    • OptionalisInternalConstructor: boolean

    Returns TerrainSplatmap

Accessors

  • get splatmap(): Texture
  • The splatmap texture determines the weights used to blend the materials together.

    Returns Texture

  • set splatmap(value): void
  • The splatmap texture determines the weights used to blend the materials together.

    Parameters

    Returns void

Methods

  • Marks the object as dirty.

    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.

        • (): void
        • Returns void

    Returns void

Events

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

Event that is triggered when a member changes.