|
| AZ_RTTI (CommandAdjustSimulatedJoint, "{ADCCE17E-6841-46C4-9C46-9C65B2E2C0A0}", MCore::Command, ParameterMixinActorId) |
|
AZ_CLASS_ALLOCATOR_DECL | CommandAdjustSimulatedJoint (MCore::Command *orgCommand=nullptr) |
|
| CommandAdjustSimulatedJoint (AZ::u32 actorId, size_t objectIndex, size_t jointIndex, MCore::Command *orgCommand=nullptr) |
|
bool | Execute (const MCore::CommandLine ¶meters, AZStd::string &outResult) override |
|
bool | Undo (const MCore::CommandLine ¶meters, AZStd::string &outResult) override |
|
void | InitSyntax () override |
|
bool | SetCommandParameters (const MCore::CommandLine ¶meters) override |
|
bool | GetIsUndoable () const override |
|
const char * | GetHistoryName () const override |
|
const char * | GetDescription () const override |
|
MCore::Command * | Create () override |
|
SimulatedJoint * | GetSimulatedJoint () const |
|
void | SetConeAngleLimit (float newConeAngleLimit) |
|
void | SetMass (float newMass) |
|
void | SetStiffness (float newStiffness) |
|
void | SetDamping (float newDamping) |
|
void | SetGravityFactor (float newGravityFactor) |
|
void | SetFriction (float newFriction) |
|
void | SetPinned (bool newPinned) |
|
void | SetColliderExclusionTags (const AZStd::vector< AZStd::string > &exclusionTagList) |
|
void | SetAutoExcludeMode (SimulatedJoint::AutoExcludeMode newMode) |
|
void | SetGeometricAutoExclusion (bool newEnabled) |
|
void | SetOldConeAngleLimit (float oldConeAngleLimit) |
|
void | SetOldMass (float oldMass) |
|
void | SetOldStiffness (float oldStiffness) |
|
void | SetOldDamping (float oldDamping) |
|
void | SetOldGravityFactor (float oldGravityFactor) |
|
void | SetOldFriction (float oldFriction) |
|
void | SetOldPinned (bool oldPinned) |
|
void | SetOldColliderExclusionTags (const AZStd::vector< AZStd::string > &exclusionTagList) |
|
void | SetOldAutoExcludeMode (SimulatedJoint::AutoExcludeMode oldMode) |
|
void | SetOldGeometricAutoExclusion (bool oldEnabled) |
|
Public Member Functions inherited from MCore::Command |
| Command (AZStd::string commandName, Command *originalCommand) |
|
virtual | ~Command () |
|
virtual bool | Execute (const CommandLine ¶meters, AZStd::string &outResult)=0 |
|
virtual bool | Undo (const CommandLine ¶meters, AZStd::string &outResult) |
|
virtual Command * | Create ()=0 |
|
virtual bool | GetIsUndoable () const |
|
virtual void | InitSyntax () |
|
virtual bool | SetCommandParameters (const CommandLine ¶meters) |
|
virtual const char * | GetDescription () const |
|
virtual const char * | GetHistoryName () const |
|
const char * | GetName () const |
|
const AZStd::string & | GetNameString () const |
|
MCORE_INLINE CommandSyntax & | GetSyntax () |
|
size_t | GetNumCallbacks () const |
|
size_t | CalcNumPreCommandCallbacks () const |
|
size_t | CalcNumPostCommandCallbacks () const |
|
MCORE_INLINE Command::Callback * | GetCallback (size_t index) |
|
void | AddCallback (Command::Callback *callback) |
|
bool | CheckIfHasCallback (Command::Callback *callback) const |
|
void | RemoveCallback (Command::Callback *callback, bool delFromMem=true) |
|
void | RemoveAllCallbacks () |
|
void | SetOriginalCommand (Command *orgCommand) |
|
MCORE_INLINE Command * | GetOriginalCommand () |
|
template<class T > |
void | ExecuteParameter (AZStd::optional< T > &oldParameter, AZStd::optional< T > ¶meter, T &value) |
|
| ParameterMixinActorId (AZ::u32 actorId) |
|
void | InitSyntax (MCore::CommandSyntax &syntax, bool isParameterRequired=true) |
|
bool | SetCommandParameters (const MCore::CommandLine ¶meters) |
|
void | SetActorId (AZ::u32 actorId) |
|
AZ::u32 | GetActorId () const |
|
Actor * | GetActor (const MCore::Command *command, AZStd::string &outResult) const |
|
|
static const char *const | s_commandName = "AdjustSimulatedJoint" |
|
static const char *const | s_objectIndexParameterName = "objectIndex" |
|
static const char *const | s_jointIndexParameterName = "jointIndex" |
|
static const char *const | s_coneAngleLimitParameterName = "coneAngleLimit" |
|
static const char *const | s_massParameterName = "mass" |
|
static const char *const | s_stiffnessParameterName = "stiffness" |
|
static const char *const | s_dampingParameterName = "damping" |
|
static const char *const | s_gravityFactorParameterName = "gravityFactor" |
|
static const char *const | s_frictionParameterName = "friction" |
|
static const char *const | s_pinnedParameterName = "pinned" |
|
static const char *const | s_colliderExclusionTagsParameterName = "colliderExclusionTags" |
|
static const char *const | s_autoExcludeModeParameterName = "autoExcludeMode" |
|
static const char *const | s_geometricAutoExclusionParameterName = "geometricAutoExclusion" |
|
static const char * | s_actorIdParameterName = "actorId" |
|