Class FlowNode_InstantiateT<TObject>
Clones the object original and returns the clone.
[CeresGroup("Utilities/Unity")]
[CeresLabel("Instantiate {0}")]
[NodeInfo("Instantiates the referenced Unity object and outputs the created instance.")]
public class FlowNode_InstantiateT<TObject> : FlowNode, IEnumerable<CeresNode>, IEnumerable, IDisposable where TObject : Object
Type Parameters
TObject
- Inheritance
-
FlowNode_InstantiateT<TObject>
- Implements
- Inherited Members
Constructors
FlowNode_InstantiateT()
public FlowNode_InstantiateT()
Fields
original
[InputPort(false)]
public CeresPort<TObject> original
Field Value
- CeresPort<TObject>
parent
[InputPort(false)]
public CeresPort<Transform> parent
Field Value
position
[InputPort(false)]
public CeresPort<Vector3> position
Field Value
resultValue
[OutputPort(true)]
[CeresLabel("Result")]
public CeresPort<TObject> resultValue
Field Value
- CeresPort<TObject>
rotation
[InputPort(false)]
public CeresPort<Quaternion> rotation
Field Value
worldPositionStays
[InputPort(false)]
public CeresPort<bool> worldPositionStays
Field Value
Methods
LocalExecute(ExecutionContext)
Do node local execution, sync only
protected override void LocalExecute(ExecutionContext executionContext)
Parameters
executionContextExecutionContext
__getTypeName()
protected override string __getTypeName()
Returns
__initializePorts()
protected override void __initializePorts()
__initializeVariables()
protected override void __initializeVariables()