A class used to proxy access to a CYISceneNode.
Instances of this class are used to provide access to a CYISceneNode instance when the lifetime of that scene node is unknown. The CYISceneNodeProxy instances are accessed from a CYISceneNode instance and held in a shared pointer. If the scene node instance is deleted, the proxy instance is updated and its scene node reference is set to nullptr. Subsequent calls to setters on the proxy will have no effect.
- Note
- This class provides safe CYISceneNode wrapper functions, ensuring the CYISceneNode instance is valid before dereferencing it.
-
This class is never instanciated. Objects of this class are actually CYIEventTargetProxy instances (converted from CYIEventTargetProxy to CYISceneNodeProxy via static cast), therefore this class must only provide new member functions, not data members.
- See also
- CYIEventTarget::GetProxy()
-
CYISceneNode::GetSceneNodeProxy()
|
const CYISceneNode * | GetSceneNode () const |
|
CYISceneNode * | GetSceneNode () |
|
void | SetAnchorPoint (const glm::vec3 &ref) |
|
void | SetAnchorPoint (float x, float y, float z) |
|
void | SetAnchorPointX (float x) |
|
void | SetAnchorPointY (float y) |
|
void | SetAnchorPointZ (float z) |
|
void | SetPosition (const glm::vec3 &ref) |
|
void | SetPosition (float x, float y, float z) |
|
void | SetPositionX (float x) |
|
void | SetPositionY (float y) |
|
void | SetPositionZ (float z) |
|
void | SetRotation (const glm::vec3 &eulerDegrees) |
|
void | SetRotation (float pitchDegrees, float yawDegrees, float rollDegrees) |
|
void | SetRotationX (float pitchDegrees) |
|
void | SetRotationY (float yawDegrees) |
|
void | SetRotationZ (float rollDegrees) |
|
void | SetOrientation (float pitchDegrees, float yawDegrees, float rollDegrees) |
|
void | SetOrientation (const glm::quat &orient) |
|
void | SetScale (const glm::vec3 &scaleFactors) |
|
void | SetScale (float factorX, float factorY, float factorZ) |
|
void | SetScaleX (float factor) |
|
void | SetScaleY (float factor) |
|
void | SetScaleZ (float factor) |
|
void | Show () |
|
void | Hide () |
|
void | SetOpacity (float opacity) |
|
void | SetInternalCustomTimelineValue (uint32_t trackID, const CYIVariant &value) |
|
| CYIEventTargetProxy (CYIEventTarget *pEventTarget) |
|
const CYIEventTarget * | GetEventTarget () const |
|
CYIEventTarget * | GetEventTarget () |
|