51 class AttachableParent;
52 class AttachableChild;
106 virtual void SetLocation(
const Vector3& Location) = 0;
109 virtual Vector3 GetLocation()
const = 0;
112 virtual void SetOrientation(
const Quaternion& Orientation) = 0;
115 virtual Quaternion GetOrientation()
const = 0;
118 virtual void SetScaling(
const Vector3& Scale) = 0;
121 virtual Vector3 GetScaling()
const = 0;
165 virtual void DetachAllChildren();
168 virtual Whole GetNumAttached()
const;
176 AttachableIterator BeginChild();
179 AttachableIterator EndChild();
182 #ifndef SWIG // Since these functions differ only by constness, they make no sense to most(all?) scripting languages
185 ConstAttachableIterator BeginChild()
const;
188 ConstAttachableIterator EndChild()
const;
195 void _RecalculateAllChildTransforms();
209 Boole LocalTransformDirty;
210 Boole GlobalTransformDirty;
230 virtual void SetLocalLocation(
const Vector3& Location) = 0;
233 Vector3 GetLocalLocation()
const;
236 virtual void SetLocalOrientation(
const Quaternion& Orientation) = 0;
246 void _RecalculateGlobalTransform(
Boole FromParent =
false);
248 void _RecalculateLocalTransform();
std::vector< AttachableChild * > AttachableContainer
Basic container type for AttachableChild storage by this class.
bool Boole
Generally acts a single bit, true or false.
Base class for objects that can have attachables attached to them.
This class is the base class for objects that can be attached to AttachableParent.
This class is the base class for other attachable classes and is responsible for transform updates to...
AttachableContainer::const_iterator ConstAttachableIterator
Const Iterator type for AttachableChild instances stored by this class.
AttachableContainer Attached
A container storing all of the other attachable objects connected to this attachable.
const String ConstString
A Datatype used to a series of imutable characters.
AttachableContainer::iterator AttachableIterator
Iterator type for AttachableChild instances stored by this class.
This is used to represent a point in space, or a vector through space.
WorldObjectType
Used by various classes to help identify what class an object is.
The bulk of the engine components go in this namspace.
unsigned long Whole
Whole is an unsigned integer, it will be at least 32bits in size.
This is used to store information about rotation in 3d space.