TerrainMaterialSlotParameters

Description

sealed class Tinman.Engine.Rendering.Effects.Shared.TerrainMaterialSlotParameters

Derived from

RenderEffectParameters abstract

Shared render effect parameters for a single terrain material slot.

Public / Constants

Changed​Blend​Horizontal


public constant ChangedBlendHorizontal → (1:int32)

Changed flag for BlendHorizontal.

Changed​Blend​Vertical


public constant ChangedBlendVertical → (1 << 1:int32)

Changed flag for BlendVertical.

Changed​Material​Id


public constant ChangedMaterialId → (1 << 2:int32)

Changed flag for MaterialId.

Changed​Scale


public constant ChangedScale → (1 << 3:int32)

Changed flag for Scale.

Public / Constructors

Terrain​Material​Slot​Parameters


public constructor TerrainMaterialSlotParameters → ()

Creates a new instance of TerrainMaterialSlotParameters.

Public / Attributes

Blend​Horizontal


public attribute BlendHorizontal → (get,set)

value : TerrainMaterialBlend

The blend coefficients.

The material color blend coefficients for the horizontal texture.

Blend​Vertical


public attribute BlendVertical → (get,set)

value : TerrainMaterialBlend

The blend coefficients.

The material color blend coefficients for the vertical texture.

Material​Id


public attribute MaterialId → (get,set)

value : int32

The material ID.

The material ID of the terrain material slot.

Defaults to 0.

Scale


public attribute Scale → (get,set)

value : Vec2F

The scale factor.

Scale factors for normal vectors along up direction for the horizontal and vertical textures.

Defaults to Vec2F.Zero.