Photon Quantum 3.0.0

Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
Quantum.PhysicsMaterial Class Reference

The Quantum's asset with the definitions for a PhysicsMaterialData. More...

Public Member Functions

override void Disposed (IResourceManager resourceManager, Native.Allocator allocator)
 
override void Loaded (IResourceManager assets, Native.Allocator allocator)
 

Public Attributes

PhysicsCombineFunction FrictionCombineFunction = PhysicsCombineFunction.Average
 
FP FrictionDynamic = FP._0_50 + FP._0_10
 
FP FrictionStatic = FP._0_50 + FP._0_10
 
FP Restitution = FP._0
 
PhysicsCombineFunction RestitutionCombineFunction = PhysicsCombineFunction.Average
 

Static Public Attributes

const long DEFAULT_ID = (long)DefaultAssetGuids.PhysicsMaterial
 Obsolete. Use the default asset that is set inside the SimulationConfig instead. More...
 

Properties

PhysicsMaterialDataMaterialData [get]
 The pointer to an instance of the physics material in Quantum memory. More...
 

Detailed Description

The Quantum's asset with the definitions for a PhysicsMaterialData.

Member Data Documentation

◆ DEFAULT_ID

const long Quantum.PhysicsMaterial.DEFAULT_ID = (long)DefaultAssetGuids.PhysicsMaterial
static

Obsolete. Use the default asset that is set inside the SimulationConfig instead.

Property Documentation

◆ MaterialData

PhysicsMaterialData* Quantum.PhysicsMaterial.MaterialData
get

The pointer to an instance of the physics material in Quantum memory.