| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/SimpleConstructionScript.h |
Include |
#include "Engine/SimpleConstructionScript.h" |
class USimpleConstructionScript : public UObject
Name | Description | |
---|---|---|
|
USimpleConstructionScript ( |
Name | Description | ||
---|---|---|---|
|
AddNode ( |
Adds this node to the root set |
|
|
BeginEditorComponentConstruction() |
Called by the SCS editor to prepare for constructing editable components |
|
|
ClearEditorComponentReferences() |
Called by the SCS editor to clear all SCS editor component references |
|
|
CreateNameToSCSNodeMap() |
Create the map from names to SCS_Nodes to improve FindSCSNode performance during construction script execution |
|
|
USCS_Node &#... |
CreateNode |
Creates a new SCS node using the given class to create the component template |
|
USCS_Node &#... |
CreateNodeAndRenameComponent ( |
Creates a new SCS node using the given component template instance |
|
EndEditorComponentConstruction() |
Called by the SCS editor to clean up after constructing editable components |
|
|
ExecuteScriptOnActor ( |
Execute this script on the supplied actor, creating components |
|
|
USCS_Node &#... |
FindParentNode ( |
Find the parent node of this one. Returns NULL if node is not in tree or if is root |
|
USCS_Node &#... |
FindSCSNode ( |
Find the SCS_Node node by name and return it if found |
|
USCS_Node &#... |
FindSCSNodeByGuid ( |
Find the SCS_Node node by name and return it if found |
|
FixupRootNodeParentReferences() |
Ensures that all root node parent references are still valid and clears the reference if not |
|
|
GenerateNewComponentName |
Helper function for generating a name for a new node, DesiredName can be used to optionally request a name, ComponentClass is mandatory |
|
|
const TArray... |
GetAllNodes() |
Return all nodes in tree as a flat list |
|
TArray< cons... |
GetAllNodesConst() |
Return immutable references to nodes in tree as a flat list |
|
UBlueprint &... |
GetBlueprint() |
Return the Blueprint associated with this SCS instance |
|
AActor * |
GetComponentEditorActorInstance() |
Gets the SCS editor actor instance that's being used for component editing |
|
USCS_Node &#... |
GetDefaultSceneRootNode() |
|
|
const USCS_N... |
GetDefaultSceneRootNode() |
Provides read-only access to the default scene root node |
|
UClass * |
GetOwnerClass() |
Return the Blueprint associated with this SCS instance |
|
UClass * |
GetParentClass() |
Return the parent class of the SCS owner class |
|
const TArray... |
GetRootNodes() |
Provides read-only access to the root node set |
|
USceneCompon... |
GetSceneRootComponentTemplate |
Helper function to find the current scene root component template and optionally the owning SCS node |
|
IsConstructingEditorComponents() |
Find out whether or not we're constructing components in the SCS editor |
|
|
PreloadChain() |
||
|
RegisterInstancedComponent ( |
Helper method to register instanced components post-construction |
|
|
RemoveNameToSCSNodeMap() |
Remove the map from names to SCS_Nodes |
|
|
RemoveNode |
Remove this node from the script |
|
|
RemoveNodeAndPromoteChildren ( |
Remove this node from the script and if it's the root, promote its first child to replace it |
|
|
SetComponentEditorActorInstance ( |
Called by the SCS editor to set the actor instance for component editing |
|
|
ValidateNodeTemplates ( |
Ensures that all nodes in the SCS have valid templates |
|
|
ValidateNodeVariableNames ( |
Ensures that all nodes in the SCS have valid names for compilation/replication |
|
|
ValidateSceneRootNodes() |
Checks the root node set for scene components and ensures that it is valid (e.g. after a removal) |
Name | Description | ||
---|---|---|---|
|
EDataValidat... |
IsDataValid |
Returns Valid if this object has data validation rules set up for it and the data for this object is valid. |
|
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |
|
|
Serialize ( |
Handles reading, writing, and reference collecting using FArchive. |
Name |
Description |
---|---|
ComponentTemplateNameSuffix |
Suffix used for component template object name. |
Name | Description | ||
---|---|---|---|
|
USceneCompon... |
GetSceneRootComponentTemplate ( |
Use version that specifies whether the default scene root should be used |