Space Engineers
Public Attributes | Properties | List of all members
VRage.MyVertexFormatVoxelSingleData2 Struct Reference

Public Attributes

const int AMBIENT_MASK = 0x3FFF
 
MyUShort4 m_positionAndAmbient
 
Byte4 m_normal
 

Properties

Vector3 Position [get, set]
 
byte MaterialAlphaIndex [get, set]
 For multimaterial vertex only 0, 1 or 2, indicates what material is on this vertex More...
 
float Ambient [get, set]
 
Vector3 Normal [get, set]
 
Byte4 PackedNormal [get, set]
 

Detailed Description

Definition at line 13 of file MyRenderStructs.cs.

Member Data Documentation

const int VRage.MyVertexFormatVoxelSingleData2.AMBIENT_MASK = 0x3FFF

Definition at line 15 of file MyRenderStructs.cs.

Byte4 VRage.MyVertexFormatVoxelSingleData2.m_normal

Definition at line 19 of file MyRenderStructs.cs.

MyUShort4 VRage.MyVertexFormatVoxelSingleData2.m_positionAndAmbient

Definition at line 18 of file MyRenderStructs.cs.

Property Documentation

float VRage.MyVertexFormatVoxelSingleData2.Ambient
getset

Definition at line 43 of file MyRenderStructs.cs.

byte VRage.MyVertexFormatVoxelSingleData2.MaterialAlphaIndex
getset

For multimaterial vertex only 0, 1 or 2, indicates what material is on this vertex

Definition at line 37 of file MyRenderStructs.cs.

Vector3 VRage.MyVertexFormatVoxelSingleData2.Normal
getset

Definition at line 49 of file MyRenderStructs.cs.

Byte4 VRage.MyVertexFormatVoxelSingleData2.PackedNormal
getset

Definition at line 55 of file MyRenderStructs.cs.

Vector3 VRage.MyVertexFormatVoxelSingleData2.Position
getset

Definition at line 22 of file MyRenderStructs.cs.


The documentation for this struct was generated from the following file: