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