SceneComponent-SceneComponent(Actor_string_bool_Blueprint).md

April 18, 2021 ยท View on GitHub

UnrealEngine.Framework.SceneComponent

SceneComponent(UnrealEngine.Framework.Actor, string, bool, UnrealEngine.Framework.Blueprint) Constructor

Creates the component attached to an actor and optionally sets it as the root, first component will be set as the root automatically

public SceneComponent(UnrealEngine.Framework.Actor actor, string name=null, bool setAsRoot=false, UnrealEngine.Framework.Blueprint blueprint=null);

Parameters

actor Actor
The actor to attach the component to

name System.String
The name of the component

setAsRoot System.Boolean
If true, sets the component as the root

blueprint Blueprint
The blueprint class to use as a base class, should be equal to the exact type of the component