Show / Hide Table of Contents

Class PhysicalMaterial

Physical materials are used to define the response of a physical object when interacting dynamically with the world.

Inheritance
System.Object
UObject
PhysicalMaterial
Inherited Members
UObject.TransientPackage
UObject.CastTo<T>(UObject)
UObject.CastTo(UObject, Type)
UObject.RemoveObject(UObject)
UObject.MakeObjectArrayField<T>(NativeArray*)
UObject.NotImplemented<T>()
UObject.Construct()
UObject.GetHashCode()
UObject.GetName()
UObject.ToString()
UObject.Name
UObject._None
UObject.None
UObject.ObjPointer
UObject.LoadObjectFromClass(Class, UObject, String, String, LoadFlags, PackageMap, Boolean)
UObject.LoadClass(Class, UObject, String, String, LoadFlags, PackageMap)
UObject.GetPropertyFor<T>(Name)
UObject.ExecuteUbergraph
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)
Namespace: UE4.Engine
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
Type Description
PhysicalMaterial
| 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

deprecated

Declaration
public PhysicalMaterialPropertyBase PhysicalMaterialProperty { get; set; }
Property Value
Type Description
PhysicalMaterialPropertyBase
| 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
Remarks

This is applied to the mass as calculated based on a 'solid' object. In actuality, larger objects do not tend to be solid, and become more like 'shells' (e.g. a car is not a solid piece of metal). Values are clamped to 1 or less.

| 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

Get UE4 Class

Declaration
public static Class StaticClass { get; }
Property Value
Type Description
Class
| 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
Type Name Description
UObject obj
Name name
Returns
Type Description
PhysicalMaterial

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
Type Description
PhysicalMaterial
  • Improve this Doc
  • View Source
Back to top Generated by DocFX