Sample implementation of PhysicsMaterial that just holds the needed properties directly.
More...
#include <PhysicsMaterialSimple.h>
|
virtual void | RestoreBinaryState (StreamIn &inStream) override |
| This function should not be called directly, it is used by sRestoreFromBinaryState.
|
|
Sample implementation of PhysicsMaterial that just holds the needed properties directly.
◆ PhysicsMaterialSimple() [1/2]
PhysicsMaterialSimple::PhysicsMaterialSimple |
( |
| ) |
|
|
default |
◆ PhysicsMaterialSimple() [2/2]
PhysicsMaterialSimple::PhysicsMaterialSimple |
( |
const string_view & | inName, |
|
|
ColorArg | inColor ) |
|
inline |
◆ GetDebugColor()
virtual Color PhysicsMaterialSimple::GetDebugColor |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetDebugName()
virtual const char * PhysicsMaterialSimple::GetDebugName |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ RestoreBinaryState()
void PhysicsMaterialSimple::RestoreBinaryState |
( |
StreamIn & | inStream | ) |
|
|
overrideprotectedvirtual |
This function should not be called directly, it is used by sRestoreFromBinaryState.
Reimplemented from PhysicsMaterial.
◆ SaveBinaryState()
void PhysicsMaterialSimple::SaveBinaryState |
( |
StreamOut & | inStream | ) |
const |
|
overridevirtual |
Saves the contents of the material in binary form to inStream.
Reimplemented from PhysicsMaterial.
The documentation for this class was generated from the following files: