Struct CellObjectLODSettings
Inherited Members
Namespace: Fwt.HexTerrains.CellObjects.Data
Assembly: fwt.hexterrains.dll
Syntax
[Serializable]
public struct CellObjectLODSettings
Fields
CellItemIndex
Index of the cell item.
Declaration
public int CellItemIndex
Field Value
| Type | Description |
|---|---|
| int |
CellItemState
State of the cell item.
Declaration
public int CellItemState
Field Value
| Type | Description |
|---|---|
| int |
HasVisuals
If false, all data is ignored and no visuals are rendered for this LOD.
Declaration
public bool HasVisuals
Field Value
| Type | Description |
|---|---|
| bool |
LODIndex
Lod of the cell item.
Declaration
public int LODIndex
Field Value
| Type | Description |
|---|---|
| int |
VisualsCount
Number of visuals for this LOD. For this LOD there may be multiple visuals (RenderEntities, e.g. mesh+submeshIndex+material combination) that can be rendered. So there are list of All visuals for all possible items. In that list starting from index VisualsStartIndex to VisualsCount are visuals for this LOD.
Declaration
public int VisualsCount
Field Value
| Type | Description |
|---|---|
| int |
VisualsStartIndex
Index of first Visuals settings for this LOD and this CellObject. For this LOD there may be multiple visuals (RenderEntities, e.g. mesh+submeshIndex+material combination) that can be rendered. So there are list of All visuals for all possible items. In that list starting from index VisualsStartIndex to VisualsCount are visuals for this LOD.
Declaration
public int VisualsStartIndex
Field Value
| Type | Description |
|---|---|
| int |