Class CommonMaterial
- Namespace
- Lime
- Assembly
- Lime.dll
public class CommonMaterial : IMaterial, IMaterialSkin, IMaterialFog
- Inheritance
-
CommonMaterial
- Implements
-
- Inherited Members
-
Constructors
CommonMaterial()
Properties
Blending
[YuzuMember]
public Blending Blending { get; set; }
Property Value
- Blending
DiffuseColor
[YuzuMember]
public Color4 DiffuseColor { get; set; }
Property Value
- Color4
DiffuseTexture
[YuzuMember]
public ITexture DiffuseTexture { get; set; }
Property Value
- ITexture
FogColor
[YuzuMember]
public Color4 FogColor { get; set; }
Property Value
- Color4
FogDensity
[YuzuMember]
public float FogDensity { get; set; }
Property Value
- float
FogEnd
[YuzuMember]
public float FogEnd { get; set; }
Property Value
- float
FogMode
[YuzuMember]
public FogMode FogMode { get; set; }
Property Value
- FogMode
FogStart
[YuzuMember]
public float FogStart { get; set; }
Property Value
- float
Id
[YuzuMember("Name")]
public string Id { get; set; }
Property Value
- string
PassCount
public int PassCount { get; }
Property Value
- int
ShadowsRenderingMode
public static bool ShadowsRenderingMode { get; set; }
Property Value
- bool
SkinEnabled
[YuzuMember]
public bool SkinEnabled { get; set; }
Property Value
- bool
SkinningMode
[YuzuMember]
public SkinningMode SkinningMode { get; set; }
Property Value
- SkinningMode
Methods
Apply(int)
public void Apply(int pass)
Parameters
pass
int
Invalidate()
SetBones(Matrix44[], int)
public void SetBones(Matrix44[] boneTransforms, int boneCount)
Parameters
boneTransforms
Matrix44[]
boneCount
int
SetBones(Vector4[], Vector4[], int)
public void SetBones(Vector4[] dualQuaternionPartA, Vector4[] dualQuaternionPartB, int boneCount)
Parameters
dualQuaternionPartA
Vector4[]
dualQuaternionPartB
Vector4[]
boneCount
int