M&B: Bannerlord 1.2.10
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.Engine.PhysicsMaterial Struct Reference

Public Member Functions

PhysicsMaterialFlags GetFlags ()
 
float GetDynamicFriction ()
 
float GetStaticFriction ()
 
float GetSoftness ()
 
float GetRestitution ()
 
bool Equals (PhysicsMaterial m)
 

Static Public Member Functions

static int GetMaterialCount ()
 
static PhysicsMaterial GetFromName (string id)
 
static string GetNameAtIndex (int index)
 
static PhysicsMaterialFlags GetFlagsAtIndex (int index)
 
static float GetRestitutionAtIndex (int index)
 
static float GetSoftnessAtIndex (int index)
 
static float GetDynamicFrictionAtIndex (int index)
 
static float GetStaticFrictionAtIndex (int index)
 
static PhysicsMaterial GetFromIndex (int index)
 

Public Attributes

readonly int Index
 

Static Public Attributes

static readonly PhysicsMaterial InvalidPhysicsMaterial = new PhysicsMaterial(-1)
 

Properties

bool IsValid [get]
 
string Name [get]
 

Member Function Documentation

◆ GetFlags()

PhysicsMaterialFlags TaleWorlds.Engine.PhysicsMaterial.GetFlags ( )

◆ GetDynamicFriction()

float TaleWorlds.Engine.PhysicsMaterial.GetDynamicFriction ( )

◆ GetStaticFriction()

float TaleWorlds.Engine.PhysicsMaterial.GetStaticFriction ( )

◆ GetSoftness()

float TaleWorlds.Engine.PhysicsMaterial.GetSoftness ( )

◆ GetRestitution()

float TaleWorlds.Engine.PhysicsMaterial.GetRestitution ( )

◆ Equals()

bool TaleWorlds.Engine.PhysicsMaterial.Equals ( PhysicsMaterial m)

◆ GetMaterialCount()

static int TaleWorlds.Engine.PhysicsMaterial.GetMaterialCount ( )
static

◆ GetFromName()

static PhysicsMaterial TaleWorlds.Engine.PhysicsMaterial.GetFromName ( string id)
static

◆ GetNameAtIndex()

static string TaleWorlds.Engine.PhysicsMaterial.GetNameAtIndex ( int index)
static

◆ GetFlagsAtIndex()

static PhysicsMaterialFlags TaleWorlds.Engine.PhysicsMaterial.GetFlagsAtIndex ( int index)
static

◆ GetRestitutionAtIndex()

static float TaleWorlds.Engine.PhysicsMaterial.GetRestitutionAtIndex ( int index)
static

◆ GetSoftnessAtIndex()

static float TaleWorlds.Engine.PhysicsMaterial.GetSoftnessAtIndex ( int index)
static

◆ GetDynamicFrictionAtIndex()

static float TaleWorlds.Engine.PhysicsMaterial.GetDynamicFrictionAtIndex ( int index)
static

◆ GetStaticFrictionAtIndex()

static float TaleWorlds.Engine.PhysicsMaterial.GetStaticFrictionAtIndex ( int index)
static

◆ GetFromIndex()

static PhysicsMaterial TaleWorlds.Engine.PhysicsMaterial.GetFromIndex ( int index)
static

Member Data Documentation

◆ Index

readonly int TaleWorlds.Engine.PhysicsMaterial.Index

◆ InvalidPhysicsMaterial

readonly PhysicsMaterial TaleWorlds.Engine.PhysicsMaterial.InvalidPhysicsMaterial = new PhysicsMaterial(-1)
static

Property Documentation

◆ IsValid

bool TaleWorlds.Engine.PhysicsMaterial.IsValid
get

◆ Name

string TaleWorlds.Engine.PhysicsMaterial.Name
get