Space Engineers
Public Member Functions | Public Attributes | Properties | List of all members
VRage.MyCubeInstanceData Struct Reference

Public Member Functions

Matrix ConstructDeformedCubeInstanceMatrix (ref Vector4UByte boneIndices, ref Vector4 boneWeights, out Matrix localMatrix)
 
Vector3 ComputeBoneOffset (ref Vector4UByte boneIndices, ref Vector4 boneWeights)
 
byte[] RawBones ()
 
void ResetBones ()
 Resets bones to zero and disables skinning More...
 
void SetTextureOffset (Vector2 patternOffset)
 
float GetTextureOffset (int index)
 
void SetColorMaskHSV (Vector4 colorMaskHSV)
 
Vector3 GetDenormalizedBone (int index)
 
Vector4UByte GetPackedBone (int index)
 

Public Attributes

Vector4 m_translationAndRot
 
Vector4 ColorMaskHSV
 

Properties

Matrix LocalMatrix [get, set]
 
Vector3 Translation [get]
 Gets translation, faster than getting local matrix More...
 
Vector4 PackedOrthoMatrix [get, set]
 
float BoneRange [get, set]
 
bool EnableSkinning [get, set]
 
Vector3UByte this[int index] [get, set]
 

Detailed Description

Definition at line 276 of file MyRenderStructs.cs.

Member Function Documentation

Vector3 VRage.MyCubeInstanceData.ComputeBoneOffset ( ref Vector4UByte  boneIndices,
ref Vector4  boneWeights 
)
inline

Definition at line 299 of file MyRenderStructs.cs.

Matrix VRage.MyCubeInstanceData.ConstructDeformedCubeInstanceMatrix ( ref Vector4UByte  boneIndices,
ref Vector4  boneWeights,
out Matrix  localMatrix 
)
inline

Definition at line 285 of file MyRenderStructs.cs.

Vector3 VRage.MyCubeInstanceData.GetDenormalizedBone ( int  index)
inline

Definition at line 475 of file MyRenderStructs.cs.

Vector4UByte VRage.MyCubeInstanceData.GetPackedBone ( int  index)
inline

Definition at line 480 of file MyRenderStructs.cs.

float VRage.MyCubeInstanceData.GetTextureOffset ( int  index)
inline

Definition at line 382 of file MyRenderStructs.cs.

byte [] VRage.MyCubeInstanceData.RawBones ( )
inline

Definition at line 314 of file MyRenderStructs.cs.

void VRage.MyCubeInstanceData.ResetBones ( )
inline

Resets bones to zero and disables skinning

Definition at line 357 of file MyRenderStructs.cs.

void VRage.MyCubeInstanceData.SetColorMaskHSV ( Vector4  colorMaskHSV)
inline

Definition at line 390 of file MyRenderStructs.cs.

void VRage.MyCubeInstanceData.SetTextureOffset ( Vector2  patternOffset)
inline

Definition at line 373 of file MyRenderStructs.cs.

Member Data Documentation

Vector4 VRage.MyCubeInstanceData.ColorMaskHSV

Definition at line 281 of file MyRenderStructs.cs.

Vector4 VRage.MyCubeInstanceData.m_translationAndRot

Definition at line 279 of file MyRenderStructs.cs.

Property Documentation

float VRage.MyCubeInstanceData.BoneRange
getset

Definition at line 404 of file MyRenderStructs.cs.

bool VRage.MyCubeInstanceData.EnableSkinning
getset

Definition at line 422 of file MyRenderStructs.cs.

Matrix VRage.MyCubeInstanceData.LocalMatrix
getset

Definition at line 326 of file MyRenderStructs.cs.

Vector4 VRage.MyCubeInstanceData.PackedOrthoMatrix
getset

Definition at line 349 of file MyRenderStructs.cs.

Vector3UByte VRage.MyCubeInstanceData.this[int index]
getset

Definition at line 440 of file MyRenderStructs.cs.

Vector3 VRage.MyCubeInstanceData.Translation
get

Gets translation, faster than getting local matrix

Definition at line 341 of file MyRenderStructs.cs.


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