class MAGES::SceneGraph::InsertActionData¶
Overview¶
Class that contains the data for the Insert action. More…
class InsertActionData: public MAGES::BaseActionData { public: // enums enum InsertionType; // classes class Factory; // fields ActionGameObject insertObject; ActionGameObject finalPosition; float maxInsertAngle; InsertionType insertionType = InsertionType.Lerp; bool selectedInsertion = false; // properties GameObject InsertObjectSpawned; GameObject FinalPositionSpawned; GameObject InsertObject; GameObject FinalPosition; ActionGameObject ActionInsertObject; ActionGameObject ActionFinalPosition; override GameObject[] ActionGameObjects; };
Inherited Members¶
public:
// enums
enum ActionType;
enum ObjectParentType;
// fields
string actionName;
List attachedScripts = new List();
StepContainer steps = new StepContainer();
EffectDataCollection effects = new EffectDataCollection();
bool isReplicated = true;
string actionDescription;
// properties
List<BaseActionData> NextActions;
List<BaseActionData> PrevActions;
List AttachedScripts;
Action PathEnd;
string ID;
string ActionName;
bool AdvancedMode;
Vector2 NodePosition;
ActionState State;
StepContainer Steps;
EffectDataCollection Effects;
string ActionDescription;
GameObject[] ActionGameObjects;
bool IsStartAction;
bool IsReplicated;
ActionType Type;
bool IsAudible;
// methods
override bool Equals(object other);
override int GetHashCode();
virtual List<BaseActionData> GetLinkedActions();
virtual List<BaseActionData> GetIncomingActions();
virtual void RemapActions(Dictionary<BaseActionData, BaseActionData> map);
Detailed Documentation¶
Class that contains the data for the Insert action.
Fields¶
ActionGameObject insertObject
The object to be inserted.
ActionGameObject finalPosition
The final position of the object.
float maxInsertAngle
The max accepted angle the object should be inserted at.
Properties¶
GameObject InsertObjectSpawned
Gets the instantiated insert object.
GameObject FinalPositionSpawned
Gets the instantiated final position.
GameObject InsertObject
Gets or sets the insert object.
GameObject FinalPosition
Gets or sets the final position.
ActionGameObject ActionInsertObject
Gets or sets the action insert object.
ActionGameObject ActionFinalPosition
Gets or sets the action final position.