Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Engine > API/Runtime/Engine/Engine/USimpleConstructionScript
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Engine/SimpleConstructionScript.h |
| Include | #include "Engine/SimpleConstructionScript.h" |
| Source | /Engine/Source/Runtime/Engine/Private/SimpleConstructionScript.cpp |
void ExecuteScriptOnActor
&40;
AActor &42; Actor,
const TInlineComponentArray< USceneComponent &42; > & NativeSceneComponents,
const FTransform & RootTransform,
const FRotationConversionCache &42; RootRelativeRotationCache,
bool bIsDefaultTransform,
ESpawnActorScaleMethod TransformScaleMethod
&41;
Remarks
Execute this script on the supplied actor, creating components
Parameters
| Name | 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. |