class MAGES::SceneGraph::RotateActionData¶
Overview¶
Class tha contains the data for the Rotate Action. More…
class RotateActionData: public MAGES::BaseActionData { public: // enums enum LocalRotationAxisMode; // classes class Factory; // fields ActionGameObject rotateObject = null; Vector3 rotationAxis = Vector3.up; LocalRotationAxisMode rotationAxisMode = LocalRotationAxisMode.YAxis; float rotationAngle = 90f; bool constraintRigidbody = false; // properties override GameObject[] ActionGameObjects; ActionGameObject RotateObject; GameObject RotateObjectSpawned; LocalRotationAxisMode RotationAxisMode; Vector3 RotationAxis; float RotationAngle; bool ConstraintRigidbody; };
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 tha contains the data for the Rotate Action.
Properties¶
ActionGameObject RotateObject
Gets or sets the object that will be rotated.
GameObject RotateObjectSpawned
Gets the instantiated rotate object.
LocalRotationAxisMode RotationAxisMode
Gets or sets the local rotation axis mode.
Vector3 RotationAxis
Gets or sets the local rotation axis.
float RotationAngle
Gets or sets the rotation angle.
bool ConstraintRigidbody
Gets or sets a value indicating whether the object’s rotation should be constrained to the specified axis.