Navigation
API > API/Plugins > API/Plugins/AnimDatabaseEditor
Simple re-usable preview scene that contains multiple characters each with a PoseableMeshComponent
| Name | FPreviewScene |
| Type | class |
| Header File | /Engine/Plugins/Experimental/Animation/AnimDatabase/Source/AnimDatabaseEditor/Public/AnimDatabaseEditorPreviewScene.h |
| Include Path | #include "AnimDatabaseEditorPreviewScene.h" |
Syntax
class FPreviewScene : public FAdvancedPreviewScene
Inheritance Hierarchy
- FGCObject → FPreviewScene
- FAdvancedPreviewScene → FPreviewScene
- FTickableObjectBase → FTickableEditorObject → FAdvancedPreviewScene → FPreviewScene
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPreviewScene
(
ConstructionValues CVS |
AnimDatabaseEditorPreviewScene.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FPreviewScene() |
AnimDatabaseEditorPreviewScene.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CapsuleComponents | TArray< UCapsuleComponent * > | Array of Capsule Components which get added by default to each new character | AnimDatabaseEditorPreviewScene.h | |
| CharacterActors | TArray< ACharacter * > | Array of Character Actors | AnimDatabaseEditorPreviewScene.h | |
| PoseableMeshComponents | TArray< UPoseableMeshComponent * > | Array of poseable mesh components | AnimDatabaseEditorPreviewScene.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 AddCharacter() |
Adds a new character to the scene. Returns the added character index | AnimDatabaseEditorPreviewScene.h | |
ACharacter * GetCharacterActor
(
const int32 CharacterIdx |
Gets the actor associated with a given character | AnimDatabaseEditorPreviewScene.h | |
int32 GetCharacterNum() |
Gets the number of characters in the scene | AnimDatabaseEditorPreviewScene.h | |
bool GetCharacterVisibility
(
const int32 CharacterIdx |
Gets the current visibility of the given character | AnimDatabaseEditorPreviewScene.h | |
UPoseableMeshComponent * GetPoseableMeshComponent
(
const int32 CharacterIdx |
Gets the poseable mesh component associated with a given character | AnimDatabaseEditorPreviewScene.h | |
int32 RemoveCharacter() |
Removes a character from the scene | AnimDatabaseEditorPreviewScene.h | |
void SetCharacterVisibility
(
const int32 CharacterIdx, |
Adjusts the visibility for the given character | AnimDatabaseEditorPreviewScene.h |
Public Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Tick
(
float InDeltaTime |
Updates the preview scene | AnimDatabaseEditorPreviewScene.h |