|
| AZ_RTTI (CommandAdjustCollider, "{F20BE1AB-6058-43EA-B309-465EBFBAE6C3}", MCore::Command, ParameterMixinActorId, ParameterMixinJointName) |
|
AZ_CLASS_ALLOCATOR_DECL | CommandAdjustCollider (MCore::Command *orgCommand=nullptr) |
|
| CommandAdjustCollider (AZ::u32 actorId, const AZStd::string &jointName, PhysicsSetup::ColliderConfigType configType, size_t colliderIndex, MCore::Command *orgCommand=nullptr) |
|
bool | Execute (const MCore::CommandLine ¶meters, AZStd::string &outResult) override |
|
bool | Undo (const MCore::CommandLine ¶meters, AZStd::string &outResult) override |
|
bool | GetIsUndoable () const override |
|
const char * | GetHistoryName () const override |
|
const char * | GetDescription () const override |
|
MCore::Command * | Create () override |
|
void | SetColliderConfig (PhysicsSetup::ColliderConfigType configType) |
|
void | SetColliderIndex (AZ::u32 colliderIndex) |
|
void | SetCollisionLayer (AzPhysics::CollisionLayer collisionLayer) |
|
void | SetCollisionGroupId (AzPhysics::CollisionGroups::Id collisionGroupId) |
|
void | SetIsTrigger (bool isTrigger) |
|
void | SetPosition (AZ::Vector3 position) |
|
void | SetRotation (AZ::Quaternion rotation) |
|
void | SetMaterialSlots (Physics::MaterialSlots materialSlots) |
|
void | SetTag (AZStd::string tag) |
|
void | SetOldCollisionLayer (AzPhysics::CollisionLayer collisionLayer) |
|
void | SetOldCollisionGroupId (AzPhysics::CollisionGroups::Id collisionGroupId) |
|
void | SetOldIsTrigger (bool isTrigger) |
|
void | SetOldPosition (AZ::Vector3 position) |
|
void | SetOldRotation (AZ::Quaternion rotation) |
|
void | SetOldMaterialSlots (Physics::MaterialSlots materialSlots) |
|
void | SetOldTag (AZStd::string tag) |
|
const AZStd::optional< AZStd::string > & | GetOldTag () const |
|
void | SetRadius (float radius) |
|
void | SetHeight (float height) |
|
void | SetDimensions (AZ::Vector3 dimensions) |
|
void | SetOldRadius (float radius) |
|
void | SetOldHeight (float height) |
|
void | SetOldDimensions (AZ::Vector3 dimensions) |
|
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 |
|
| ParameterMixinJointName (const AZStd::string &jointName) |
|
void | InitSyntax (MCore::CommandSyntax &syntax, bool isParameterRequired=true) |
|
bool | SetCommandParameters (const MCore::CommandLine ¶meters) |
|
void | SetJointName (const AZStd::string &jointName) |
|
const AZStd::string & | GetJointName () const |
|