C# Class Axiom.Components.Terrain.TerrainLayerSamplerElement

Information about one element of a sampler / texture within a layer.
Show file Open project: WolfgangSt/axiom Class Usage Examples

Public Properties

Property Type Description
ElementCount byte
ElementStart byte
Semantic TerrainLayerSamplerSemantic
Source byte

Public Methods

Method Description
TerrainLayerSamplerElement ( byte src, TerrainLayerSamplerSemantic sem, byte elemStart, byte elemCount ) : System

operator ( ) : bool

Method Details

TerrainLayerSamplerElement() public method

public TerrainLayerSamplerElement ( byte src, TerrainLayerSamplerSemantic sem, byte elemStart, byte elemCount ) : System
src byte
sem TerrainLayerSamplerSemantic
elemStart byte
elemCount byte
return System

operator() public static method

public static operator ( ) : bool
return bool

Property Details

ElementCount public property

The number of colour elements this semantic uses (usually standard per semantic)
public byte ElementCount
return byte

ElementStart public property

The colour element at which this element starts
public byte ElementStart
return byte

Semantic public property

The semantic this element represents
public TerrainLayerSamplerSemantic Semantic
return TerrainLayerSamplerSemantic

Source public property

The source sampler index of this element relative to LayerDeclaration's list
public byte Source
return byte