Plasma Engine  2.0
Loading...
Searching...
No Matches
plDuplicateObjectsCommand Class Reference
Inheritance diagram for plDuplicateObjectsCommand:

Public Attributes

plString m_sGraphTextFormat
 
plString m_sParentNodes
 
plUInt32 m_uiNumberOfCopies
 A stringyfied map in format "uuidObj1=uuidParent1;..." that defines the previous parents of all top level objects.
 
plVec3 m_vAccumulativeTranslation
 if set to 0 (the default), all the 'advanced' duplication code is skipped and only a single straight copy is made
 
plVec3 m_vAccumulativeRotation
 
plVec3 m_vRandomRotation
 
plVec3 m_vRandomTranslation
 
bool m_bGroupDuplicates
 
plInt8 m_iRevolveAxis
 0 = disabled, 1 = x, 2 = y, 3 = z
 
float m_fRevolveRadius
 
plAngle m_RevolveStartAngle
 
plAngle m_RevolveAngleStep
 

Additional Inherited Members

- Public Types inherited from plCommand
enum class  CommandState { WasDone , WasUndone }
 
- Public Member Functions inherited from plCommand
bool IsUndoable () const
 
bool HasChildActions () const
 
bool HasModifiedDocument () const
 
- Public Member Functions inherited from plReflectedClass
virtual const plRTTIGetDynamicRTTI () const
 
bool IsInstanceOf (const plRTTI *pType) const
 Returns whether the type of this instance is of the given type or derived from it.
 
template<typename T >
PL_ALWAYS_INLINE bool IsInstanceOf () const
 Returns whether the type of this instance is of the given type or derived from it.
 
- Static Public Member Functions inherited from plNoBase
static const plRTTIGetStaticRTTI ()
 
- Protected Member Functions inherited from plCommand
plStatus Do (bool bRedo)
 
plStatus Undo (bool bFireEvents)
 
void Cleanup (CommandState state)
 
plStatus AddSubCommand (plCommand &command)
 
plDocumentGetDocument ()
 
- Protected Attributes inherited from plCommand
plString m_sDescription
 
bool m_bUndoable = true
 
bool m_bModifiedDocument = true
 
plHybridArray< plCommand *, 8 > m_ChildActions
 
plDocumentm_pDocument = nullptr
 

Member Function Documentation

◆ CleanupInternal()

void plDuplicateObjectsCommand::CleanupInternal ( CommandState state)
overrideprivatevirtual

Implements plCommand.

◆ DoInternal()

plStatus plDuplicateObjectsCommand::DoInternal ( bool bRedo)
overrideprivatevirtual

Implements plCommand.

◆ UndoInternal()

plStatus plDuplicateObjectsCommand::UndoInternal ( bool bFireEvents)
overrideprivatevirtual

Implements plCommand.


The documentation for this class was generated from the following files: