Class ModelChildRendererHandler
Inheritance
ModelChildRendererHandler
Assembly: cs.temp.dll.dll
Syntax
public class ModelChildRendererHandler : ModelChildHandler<Renderer>, IModelChildRenderer, IModelChild
Constructors
ModelChildRendererHandler(Renderer, Int32)
Declaration
public ModelChildRendererHandler(Renderer initialRenderer, int indexKey)
Parameters
Type |
Name |
Description |
Renderer |
initialRenderer |
|
Int32 |
indexKey |
|
Methods
OnCache()
Declaration
protected override void OnCache()
Overrides
RTSEngine.Model.ModelChildHandler<Renderer>.OnCache()
OnShow()
Declaration
protected override void OnShow()
Overrides
RTSEngine.Model.ModelChildHandler<Renderer>.OnShow()
SetColor(Int32, Color)
Declaration
public bool SetColor(int materialID, Color color)
Parameters
Type |
Name |
Description |
Int32 |
materialID |
|
Color |
color |
|
Returns
SetColor(Int32, String, Color)
Declaration
public bool SetColor(int materialID, string propertyName, Color color)
Parameters
Type |
Name |
Description |
Int32 |
materialID |
|
String |
propertyName |
|
Color |
color |
|
Returns
SetMaterial(Int32, Material)
Declaration
public bool SetMaterial(int materialID, Material material)
Parameters
Type |
Name |
Description |
Int32 |
materialID |
|
Material |
material |
|
Returns
Implements