Navigation
API > API/Plugins > API/Plugins/PhysicsControl
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UPhysicsControlProfileAsset
References
| Module | PhysicsControl |
| Header | /Engine/Plugins/Experimental/PhysicsControl/Source/PhysicsControl/Public/PhysicsControlProfileAsset.h |
| Include | #include "PhysicsControlProfileAsset.h" |
Syntax
UCLASS&40;BlueprintType&41;
class UPhysicsControlProfileAsset :
public UObject,
public IInterface_PreviewMeshProvider
Remarks
Asset for storing Physics Control Profiles. These will contain data that define:
- Controls and body modifiers to be created on a mesh
- Sets referencing those controls and body modifiers
- Full profiles containing settings for all the controls/modifiers
- Sparse profiles containing partial sets of settings for specific controls/modifiers
It will also be desirable to support "inheritance" - so a generic profile can be made, and then customized for certain characters or scenarios.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSoftObjectPtr< USkeletalMesh > | PreviewSkeletalMesh | The skeletal mesh to use for generating controls and previewing. | |
| float | TestValue | Placeholder for testing/developing |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FName | END IInterface_PreviewMeshProvider interface Get name of Preview Mesh property | ||
| void | Log () |
Placeholder for testing/developing |
Overridden from IInterface_PreviewMeshProvider
| Type | Name | Description | |
|---|---|---|---|
| USkeletalMesh * | Get the preview mesh for this asset | ||
| void | SetPreviewMesh
(
USkeletalMesh* PreviewMesh, |
IInterface_PreviewMeshProvider interface |