Navigation
API > API/Plugins > API/Plugins/DatasmithFBXTranslator
Inheritance Hierarchy
- TSharedFromThis
- FDatasmithFBXSceneNode
References
| Module | DatasmithFBXTranslator |
| Header | /Engine/Plugins/Enterprise/DatasmithFBXImporter/Source/DatasmithFBXTranslator/Public/DatasmithFBXScene.h |
| Include | #include "DatasmithFBXScene.h" |
Syntax
struct FDatasmithFBXSceneNode : public TSharedFromThis< FDatasmithFBXSceneNode >
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bShouldKeepThisNode | Flag indicating that scene optimizer should preserve this node and limit optimization possibilities for it. | |
| bool | bVisibilityInheritance | ||
| TSharedPtr< FDatasmithFBXSceneCamera > | Camera | Camera data. | |
| TArray< TSharedPtr< FDatasmithFBXSceneNode > > | Children | ||
| FMD5Hash | Hash | MD5 of node and its children | |
| TSharedPtr< FDatasmithFBXSceneLight > | Light | Light data. | |
| FTransform | LocalTransform | Transformation of this node relative to its parent. | |
| TArray< TSharedPtr< FDatasmithFBXSceneMaterial > > | Materials | ||
| TSharedPtr< FDatasmithFBXSceneMesh > | Mesh | Mesh data. | |
| TMap< FString, FString > | Metadata | ||
| FString | Name | Name of the node. Will be unique. | |
| ENodeType | NodeType | ||
| FString | OriginalName | Original name of the node, may be not unique over scene. | |
| TWeakPtr< FDatasmithFBXSceneNode > | Parent | Hierarchy. | |
| FVector | RotationOffset | ||
| FVector | RotationPivot | Transform helper objects | |
| FVector | ScalingOffset | ||
| FVector | ScalingPivot | ||
| int32 | SplitNodeID | All nodes split from the same original node will have the same SplitNodeID. | |
| float | Visibility | Node visibility, as set in fbx. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddChild
(
TSharedPtr< FDatasmithFBXSceneNode >& Child |
||
| int32 | Get number of children nodes including children of children | ||
| const FMD5Hash & | GetHash () |
||
| ENodeType | GetNodeType () |
||
| FTransform | GetTransformRelativeToParent
(
TSharedPtr< FDatasmithFBXSceneNode >& InParent |
||
| FTransform | Get node transform in world coordinate system. | ||
| void | |||
| void | KeepNode () |
||
| void | This function makes a switch node persistent for scene merging operation | ||
| void | This function makes a toggle node persistent for scene merging operation | ||
| void | MoveChildren
(
TSharedPtr< FDatasmithFBXSceneNode >& NewParent |
||
| void | RemoveNode () |
Remove this node from hierarchy. | |
| void | Remove special meaning of the node | ||
| void | Traverse
(
TSharedPtr< FDatasmithFBXSceneNode > Node, |
Constants
| Name | Description |
|---|---|
| NodeCounter |