You.i Engine
CYISceneNodeProxy Class Reference

Detailed Description

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.

See also
CYISceneNode::GetSceneNodeProxy()

#include <scenetree/YiSceneNodeProxy.h>

Inheritance diagram for CYISceneNodeProxy:

Public Member Functions

void SetAnchorPoint (const glm::vec3 &ref)
 
void SetAnchorPoint (float fX, float fY, float fZ)
 
void SetAnchorPointX (float fX)
 
void SetAnchorPointY (float fY)
 
void SetAnchorPointZ (float fZ)
 
void SetPosition (const glm::vec3 &ref)
 
void SetPosition (float fX, float fY, float fZ)
 
void SetPositionX (float fX)
 
void SetPositionY (float fY)
 
void SetPositionZ (float fZ)
 
void SetRotation (const glm::vec3 &fEulerDegrees)
 
void SetRotation (float fPitchDegrees, float fYawDegrees, float fRollDegrees)
 
void SetRotationX (float fPitchDegrees)
 
void SetRotationY (float fYawDegrees)
 
void SetRotationZ (float fRollDegrees)
 
void SetOrientation (float fPitchDegrees, float fYawDegrees, float fRollDegrees)
 
void SetOrientation (const glm::quat &orient)
 
void SetScale (const glm::vec3 &fScaleFactors)
 
void SetScale (float fFactorX, float fFactorY, float fFactorZ)
 
void SetScaleX (float fFactor)
 
void SetScaleY (float fFactor)
 
void SetScaleZ (float fFactor)
 
void Show ()
 
void Hide ()
 
void SetOpacity (float fOpacity)
 
void SetInternalCustomTimelineValue (uint32_t uTrackID, const CYIVariant &value)
 
- Public Member Functions inherited from CYIScriptableObject
 CYIScriptableObject ()
 
 CYIScriptableObject (const CYIScriptableObject &other)
 
CYIScriptableObjectoperator= (const CYIScriptableObject &other)
 
virtual ~CYIScriptableObject ()
 
CYIBindingImplementationGetBindingImplementation () const
 
void SetBindingImplementation (CYIBindingImplementation *pBindingImplementation)
 
virtual const CYIRuntimeTypeInfoGetRuntimeTypeInfoForScriptObject () const
 

Public Attributes

CYISceneNodem_pNode
 

Member Function Documentation

void CYISceneNodeProxy::Hide ( )
void CYISceneNodeProxy::SetAnchorPoint ( const glm::vec3 &  ref)
void CYISceneNodeProxy::SetAnchorPoint ( float  fX,
float  fY,
float  fZ 
)
void CYISceneNodeProxy::SetAnchorPointX ( float  fX)
void CYISceneNodeProxy::SetAnchorPointY ( float  fY)
void CYISceneNodeProxy::SetAnchorPointZ ( float  fZ)
void CYISceneNodeProxy::SetInternalCustomTimelineValue ( uint32_t  uTrackID,
const CYIVariant value 
)
void CYISceneNodeProxy::SetOpacity ( float  fOpacity)
void CYISceneNodeProxy::SetOrientation ( float  fPitchDegrees,
float  fYawDegrees,
float  fRollDegrees 
)
void CYISceneNodeProxy::SetOrientation ( const glm::quat &  orient)
void CYISceneNodeProxy::SetPosition ( const glm::vec3 &  ref)
void CYISceneNodeProxy::SetPosition ( float  fX,
float  fY,
float  fZ 
)
void CYISceneNodeProxy::SetPositionX ( float  fX)
void CYISceneNodeProxy::SetPositionY ( float  fY)
void CYISceneNodeProxy::SetPositionZ ( float  fZ)
void CYISceneNodeProxy::SetRotation ( const glm::vec3 &  fEulerDegrees)
void CYISceneNodeProxy::SetRotation ( float  fPitchDegrees,
float  fYawDegrees,
float  fRollDegrees 
)
void CYISceneNodeProxy::SetRotationX ( float  fPitchDegrees)
void CYISceneNodeProxy::SetRotationY ( float  fYawDegrees)
void CYISceneNodeProxy::SetRotationZ ( float  fRollDegrees)
void CYISceneNodeProxy::SetScale ( const glm::vec3 &  fScaleFactors)
void CYISceneNodeProxy::SetScale ( float  fFactorX,
float  fFactorY,
float  fFactorZ 
)
void CYISceneNodeProxy::SetScaleX ( float  fFactor)
void CYISceneNodeProxy::SetScaleY ( float  fFactor)
void CYISceneNodeProxy::SetScaleZ ( float  fFactor)
void CYISceneNodeProxy::Show ( )

Member Data Documentation

CYISceneNode* CYISceneNodeProxy::m_pNode

The scene node that is proxied by this object. Scene nodes set this to nullptr on their associated proxy object when the scene node is deleted.


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