Space Engineers
Public Member Functions | Public Attributes | Properties | List of all members
VRage.Render11.GeometryStage2.Instancing.MyInstanceComponent Class Reference
Inheritance diagram for VRage.Render11.GeometryStage2.Instancing.MyInstanceComponent:
VRageRender.MyActorComponent

Public Member Functions

void GetMatrixCols (int nMultiInstance, out Vector4 col0, out Vector4 col1, out Vector4 col2)
 
int GetMultiTransformCount ()
 
bool IsVisible (int passId)
 
void SetMultiInstancesTransformStrategy (MyInstanceData[] multiInstanceData, int instanceStart, int instancesCount)
 
int GetLodsCount (int passId)
 
void GetLod (int passId, int i, out MyLod lod, out MyInstanceLodState stateId, out float stateData)
 
MyLod GetHighlightLod ()
 
bool SetInstanceMaterial (string materialName, MyInstanceMaterial instanceMaterial)
 
bool SetInstanceMaterialColorMult (string materialName, Vector3 colorMult)
 
bool SetInstanceMaterialEmissivity (string materialName, float emissivity)
 
void SetDithered (bool isHologram, float dithered)
 
void SetGlobalEmissivity (float emissivity)
 
MyInstanceMaterial GetInstanceMaterial (int instanceMaterialOffset)
 
void UpdateLodExplicit (List< int > activePassIds, int explicitLodNum)
 
void UpdateLodNoTransition (List< int > activePassIds, MyLodStrategyPreprocessor preprocessor)
 
void UpdateLodSmoothly (List< int > activePassIds, MyLodStrategyPreprocessor preprocessor)
 

Public Attributes

HalfVector3 KeyColor
 

Properties

MyModels Models [get]
 
MyModel StandardModel [get]
 
MyModel DepthModel [get]
 
MyCompatibilityDataForTheOldPipeline CompatibilityDataForTheOldPipeline [get]
 
HalfVector4 GlobalColorMultEmissivity [get]
 

Detailed Description

Definition at line 280 of file MyInstanceComponent.cs.

Member Function Documentation

MyLod VRage.Render11.GeometryStage2.Instancing.MyInstanceComponent.GetHighlightLod ( )
inline

Definition at line 364 of file MyInstanceComponent.cs.

MyInstanceMaterial VRage.Render11.GeometryStage2.Instancing.MyInstanceComponent.GetInstanceMaterial ( int  instanceMaterialOffset)
inline

Definition at line 440 of file MyInstanceComponent.cs.

void VRage.Render11.GeometryStage2.Instancing.MyInstanceComponent.GetLod ( int  passId,
int  i,
out MyLod  lod,
out MyInstanceLodState  stateId,
out float  stateData 
)
inline

Definition at line 354 of file MyInstanceComponent.cs.

int VRage.Render11.GeometryStage2.Instancing.MyInstanceComponent.GetLodsCount ( int  passId)
inline

Definition at line 349 of file MyInstanceComponent.cs.

void VRage.Render11.GeometryStage2.Instancing.MyInstanceComponent.GetMatrixCols ( int  nMultiInstance,
out Vector4  col0,
out Vector4  col1,
out Vector4  col2 
)
inline

Definition at line 295 of file MyInstanceComponent.cs.

int VRage.Render11.GeometryStage2.Instancing.MyInstanceComponent.GetMultiTransformCount ( )
inline

Definition at line 300 of file MyInstanceComponent.cs.

bool VRage.Render11.GeometryStage2.Instancing.MyInstanceComponent.IsVisible ( int  passId)
inline

Definition at line 305 of file MyInstanceComponent.cs.

void VRage.Render11.GeometryStage2.Instancing.MyInstanceComponent.SetDithered ( bool  isHologram,
float  dithered 
)
inline

Definition at line 404 of file MyInstanceComponent.cs.

void VRage.Render11.GeometryStage2.Instancing.MyInstanceComponent.SetGlobalEmissivity ( float  emissivity)
inline

Definition at line 426 of file MyInstanceComponent.cs.

bool VRage.Render11.GeometryStage2.Instancing.MyInstanceComponent.SetInstanceMaterial ( string  materialName,
MyInstanceMaterial  instanceMaterial 
)
inline

Definition at line 369 of file MyInstanceComponent.cs.

bool VRage.Render11.GeometryStage2.Instancing.MyInstanceComponent.SetInstanceMaterialColorMult ( string  materialName,
Vector3  colorMult 
)
inline

Definition at line 379 of file MyInstanceComponent.cs.

bool VRage.Render11.GeometryStage2.Instancing.MyInstanceComponent.SetInstanceMaterialEmissivity ( string  materialName,
float  emissivity 
)
inline

Definition at line 391 of file MyInstanceComponent.cs.

void VRage.Render11.GeometryStage2.Instancing.MyInstanceComponent.SetMultiInstancesTransformStrategy ( MyInstanceData[]  multiInstanceData,
int  instanceStart,
int  instancesCount 
)
inline

Definition at line 316 of file MyInstanceComponent.cs.

void VRage.Render11.GeometryStage2.Instancing.MyInstanceComponent.UpdateLodExplicit ( List< int >  activePassIds,
int  explicitLodNum 
)
inline

Definition at line 445 of file MyInstanceComponent.cs.

void VRage.Render11.GeometryStage2.Instancing.MyInstanceComponent.UpdateLodNoTransition ( List< int >  activePassIds,
MyLodStrategyPreprocessor  preprocessor 
)
inline

Definition at line 451 of file MyInstanceComponent.cs.

void VRage.Render11.GeometryStage2.Instancing.MyInstanceComponent.UpdateLodSmoothly ( List< int >  activePassIds,
MyLodStrategyPreprocessor  preprocessor 
)
inline

Definition at line 460 of file MyInstanceComponent.cs.

Member Data Documentation

HalfVector3 VRage.Render11.GeometryStage2.Instancing.MyInstanceComponent.KeyColor

Definition at line 286 of file MyInstanceComponent.cs.

Property Documentation

MyCompatibilityDataForTheOldPipeline VRage.Render11.GeometryStage2.Instancing.MyInstanceComponent.CompatibilityDataForTheOldPipeline
get

Definition at line 291 of file MyInstanceComponent.cs.

MyModel VRage.Render11.GeometryStage2.Instancing.MyInstanceComponent.DepthModel
get

Definition at line 285 of file MyInstanceComponent.cs.

HalfVector4 VRage.Render11.GeometryStage2.Instancing.MyInstanceComponent.GlobalColorMultEmissivity
get

Definition at line 293 of file MyInstanceComponent.cs.

MyModels VRage.Render11.GeometryStage2.Instancing.MyInstanceComponent.Models
get

Definition at line 283 of file MyInstanceComponent.cs.

MyModel VRage.Render11.GeometryStage2.Instancing.MyInstanceComponent.StandardModel
get

Definition at line 284 of file MyInstanceComponent.cs.


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