Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/SimpleConstructionScript.h |
Include |
#include "Engine/SimpleConstructionScript.h" |
Source |
/Engine/Source/Runtime/Engine/Private/SimpleConstructionScript.cpp |
void ExecuteScriptOnActor
(
AActor * Actor,
const TInlineComponentArray< USceneComponent * > & NativeSceneComponents,
const FTransform & RootTransform,
const FRotationConversionCache * RootRelativeRotationCache,
bool bIsDefaultTransform
)
Execute this script on the supplied actor, creating components
Parameter |
Description |
---|---|
Actor |
The actor instance to execute the script on. |
NativeSceneComponents |
The set of native scene components from the actor that SCS nodes can parent to when instanced. |
RootTransform |
The transform to apply to the root scene component of the actor instance if defined in this script. |
RootRelativeRotationCache |
Optional rotation cache to use when applying the transform to the root component. |
bIsDefaultTransform |
Indicates whether or not the given transform is a "default" transform, in which case it can be overridden by template defaults. |