MaterialPropertyPhysicsData
Inherits from PhysicsMaterialRelationPropertyData
Summary
Constructors
Properties
| Name | Type |
|---|---|
| dynamicFrictionModifier | float |
| staticFrictionModifier | float |
| restitutionModifier | float |
| resistance | float |
Static members
| Name | Type |
|---|---|
| MaterialPropertyPhysicsData.typeInfo | TypeInformation |
Constructors
MaterialPropertyPhysicsData
MaterialPropertyPhysicsData()
Creates a new MaterialPropertyPhysicsData frostbite instance.
MaterialPropertyPhysicsData
MaterialPropertyPhysicsData(guid: Guid)
Creates a new MaterialPropertyPhysicsData frostbite instance and assigns it the provided Guid.
Parameters
| Name | Type | Description |
|---|---|---|
| guid | Guid | The Guid to assign to the newly created instance. |
MaterialPropertyPhysicsData
MaterialPropertyPhysicsData(other: PhysicsMaterialRelationPropertyData)
Casts an instance of type PhysicsMaterialRelationPropertyData to MaterialPropertyPhysicsData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | PhysicsMaterialRelationPropertyData | The instance to cast to MaterialPropertyPhysicsData. |
MaterialPropertyPhysicsData
MaterialPropertyPhysicsData(other: MaterialRelationPropertyData)
Casts an instance of type MaterialRelationPropertyData to MaterialPropertyPhysicsData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | MaterialRelationPropertyData | The instance to cast to MaterialPropertyPhysicsData. |
MaterialPropertyPhysicsData
MaterialPropertyPhysicsData(other: DataContainer)
Casts an instance of type DataContainer to MaterialPropertyPhysicsData. Will throw an error when trying to cast from an unsupported type.
Parameters
| Name | Type | Description |
|---|---|---|
| other | DataContainer | The instance to cast to MaterialPropertyPhysicsData. |
Properties
dynamicFrictionModifier
float
staticFrictionModifier
float
restitutionModifier
float
resistance
float
Static members
typeInfo
The type information for the MaterialPropertyPhysicsData type.