Class PhysicalMaterial
Physical materials are used to define the response of a physical object when interacting dynamically with the world.
Inheritance
System.Object
PhysicalMaterial
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: UE4DotNet.dll
Syntax
public class PhysicalMaterial : UObject
Properties
|
Improve this Doc
View Source
bOverrideFrictionCombineMode
Declaration
public bool bOverrideFrictionCombineMode { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bOverrideRestitutionCombineMode
Declaration
public bool bOverrideRestitutionCombineMode { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static PhysicalMaterial DefaultObject { get; }
Property Value
|
Improve this Doc
View Source
Density
Used with the shape of the object to calculate its mass properties. The higher the number, the heavier the object. g per cubic cm.
Declaration
public float Density { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
DestructibleDamageThresholdScale
How much to scale the damage threshold by on any destructible we are applied to
Declaration
public float DestructibleDamageThresholdScale { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Friction
Friction value of surface, controls how easily things can slide on this surface (0 is frictionless, higher values increase the amount of friction)
Declaration
public float Friction { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
FrictionCombineMode
Friction combine mode, controls how friction is computed for multiple materials.
Declaration
public byte FrictionCombineMode { get; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
PhysicalMaterialProperty
Declaration
public PhysicalMaterialPropertyBase PhysicalMaterialProperty { get; set; }
Property Value
|
Improve this Doc
View Source
RaiseMassToPower
Used to adjust the way that mass increases as objects get larger.
Declaration
public float RaiseMassToPower { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Restitution
Restitution or 'bounciness' of this surface, between 0 (no bounce) and 1 (outgoing velocity is same as incoming).
Declaration
public float Restitution { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
RestitutionCombineMode
Restitution combine mode, controls how restitution is computed for multiple materials.
Declaration
public byte RestitutionCombineMode { get; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
StaticClass
Declaration
public static Class StaticClass { get; }
Property Value
|
Improve this Doc
View Source
SurfaceType
To edit surface type for your project, use ProjectSettings/Physics/PhysicalSurface section
Declaration
public byte SurfaceType { get; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
TireFrictionScale
DEPRECATED - Overall tire friction scalar for every type of tire. This value is multiplied against our parents' values.
Declaration
public float TireFrictionScale { get; set; }
Property Value
Type |
Description |
System.Single |
|
Methods
|
Improve this Doc
View Source
New(UObject, Name)
Spawn an object of this class
Declaration
public static PhysicalMaterial New(UObject obj = null, Name name = default(Name))
Parameters
Returns
Operators
|
Improve this Doc
View Source
Implicit(IntPtr to PhysicalMaterial)
Convert from IntPtr to UObject
Declaration
public static implicit operator PhysicalMaterial(IntPtr p)
Parameters
Type |
Name |
Description |
System.IntPtr |
p |
|
Returns