| CompositeMaterialMaterials Property |
Gets the list of materials for the shape features.
Namespace: DigitalRune.Physics.MaterialsAssembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax public List<UniformMaterial> Materials { get; }
Public ReadOnly Property Materials As List(Of UniformMaterial)
Get
public:
property List<UniformMaterial^>^ Materials {
List<UniformMaterial^>^ get ();
}
member Materials : List<UniformMaterial> with get
Property Value
Type:
ListUniformMaterialThe materials for the shape features.
Remarks
Example: If this material is used for a rigid body with a
TriangleMeshShape,
the 9th item in this list defines the material of the 9th triangle in the triangle mesh. If
this list has less items than the number of triangles or the item is
,
the
DefaultMaterial is used for the other triangles.
See Also