| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/PhysicalMaterials/PhysicalMaterialPropertyBase.h |
Include |
#include "PhysicalMaterials/PhysicalMaterialPropertyBase.h" |
class UDEPRECATED_PhysicalMaterialPropertyBase : public UObject
This is the PhysicalMaterialPropertyBase which the PhysicalMaterial has. Individual games should derive their own MyGamPhysicalMaterialProperty.
Then inside that object you can either have a bunch of properties or have it point to your game specific objects.
(e.g. You have have impact sounds and impact effects for all of the weapons in your game. So you have an object which contains the data needed per material type and then you have your MyGamePhysicalMaterialProperty point to that. )
class UMyGamePhysicalMaterialProperty extends UPhysicalMaterialPropertyBase editinlinenew;
editable() editinline MyGameSpecificImpactEffects ImpactEffects; editable() editinline MyGameSpecificImpactSounds ImpactSounds;
Name | Description | |
---|---|---|
|
UDEPRECATED_PhysicalMaterialPropertyBase ( |
Name | Description | ||
---|---|---|---|
|
EPhysicalSur... |
ConvertToSurfaceType() |
Compatibility support function |
|
EPhysicalSur... |
GetSurfaceType ( |
Set material type from int |