#define JPH_NAMESPACE_END
Definition Core.h:240
#define JPH_NAMESPACE_BEGIN
Definition Core.h:234
Array< RefConst< PhysicsMaterial > > PhysicsMaterialList
Definition PhysicsMaterial.h:50
std::vector< T, STLAllocator< T > > Array
Definition STLAllocator.h:81
#define JPH_DECLARE_SERIALIZABLE_VIRTUAL(class_name)
Definition SerializableObject.h:100
Class that holds an RGBA color with 8-bits per component.
Definition Color.h:16
static const Color sGrey
Definition Color.h:58
Definition PhysicsMaterial.h:23
virtual const char * GetDebugName() const
Definition PhysicsMaterial.h:34
virtual void RestoreBinaryState(StreamIn &inStream)
This function should not be called directly, it is used by sRestoreFromBinaryState.
Definition PhysicsMaterial.cpp:27
virtual void SaveBinaryState(StreamOut &inStream) const
Saves the contents of the material in binary form to inStream.
Definition PhysicsMaterial.cpp:22
static RefConst< PhysicsMaterial > sDefault
Default material that is used when a shape has no materials defined.
Definition PhysicsMaterial.h:31
virtual Color GetDebugColor() const
Definition PhysicsMaterial.h:35
static PhysicsMaterialResult sRestoreFromBinaryState(StreamIn &inStream)
Creates a PhysicsMaterial of the correct type and restores its contents from the binary stream inStre...
Definition PhysicsMaterial.cpp:32
Definition Reference.h:154
Definition Reference.h:35
Helper class that either contains a valid result or an error.
Definition Result.h:15
Definition SerializableObject.h:147
Simple binary input stream.
Definition StreamIn.h:11
Simple binary output stream.
Definition StreamOut.h:11