| UniformMaterial Constructor (String, MaterialProperties) |
Initializes a new instance of the
UniformMaterial class from a given material.
Namespace: DigitalRune.Physics.MaterialsAssembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax public UniformMaterial(
string name,
MaterialProperties material
)
Public Sub New (
name As String,
material As MaterialProperties
)
public:
UniformMaterial(
String^ name,
MaterialProperties material
)
new :
name : string *
material : MaterialProperties -> UniformMaterial
Parameters
- name
- Type: SystemString
The name of the material. Can be . - material
- Type: DigitalRune.Physics.MaterialsMaterialProperties
The material from which the properties are copied.
See Also