You.i Engine
YiSceneNodeProxy.h
Go to the documentation of this file.
1 // © You i Labs Inc. 2000-2020. All rights reserved.
2 #ifndef _YI_SCENE_NODE_PROXY_H_
3 #define _YI_SCENE_NODE_PROXY_H_
4 
7 
27 {
28 public:
32  const CYISceneNode *GetSceneNode() const;
33 
35 
39  void SetAnchorPoint(const glm::vec3 &ref);
40 
44  void SetAnchorPoint(float x, float y, float z);
45 
49  void SetAnchorPointX(float x);
50 
54  void SetAnchorPointY(float y);
55 
59  void SetAnchorPointZ(float z);
60 
64  void SetPosition(const glm::vec3 &ref);
65 
69  void SetPosition(float x, float y, float z);
70 
74  void SetPositionX(float x);
75 
79  void SetPositionY(float y);
80 
84  void SetPositionZ(float z);
85 
89  void SetRotation(const glm::vec3 &eulerDegrees);
90 
94  void SetRotation(float pitchDegrees, float yawDegrees, float rollDegrees);
95 
99  void SetRotationX(float pitchDegrees);
100 
104  void SetRotationY(float yawDegrees);
105 
109  void SetRotationZ(float rollDegrees);
110 
114  void SetOrientation(float pitchDegrees, float yawDegrees, float rollDegrees);
115 
119  void SetOrientation(const glm::quat &orient);
120 
124  void SetScale(const glm::vec3 &scaleFactors);
125 
129  void SetScale(float factorX, float factorY, float factorZ);
130 
134  void SetScaleX(float factor);
135 
139  void SetScaleY(float factor);
140 
144  void SetScaleZ(float factor);
145 
149  void Show();
150 
154  void Hide();
155 
159  void SetOpacity(float opacity);
160 
164  void SetInternalCustomTimelineValue(uint32_t trackID, const CYIVariant &value);
165 
166 private:
167  CYISceneNodeProxy() = delete;
168 };
169 
172 #endif //_YI_SCENE_NODE_PROXY_H_
void SetPosition(const glm::vec3 &ref)
A container class for common data types.
Definition: YiVariant.h:33
void SetAnchorPointY(float y)
void SetPositionZ(float z)
void SetScaleX(float factor)
A class used to proxy access to a CYISceneNode.
Definition: YiSceneNodeProxy.h:26
void SetRotationZ(float rollDegrees)
void SetScale(const glm::vec3 &scaleFactors)
void SetRotationY(float yawDegrees)
void SetPositionY(float y)
void SetPositionX(float x)
A scene node is the base type for all nodes which are used by the scene manager; it is an integral pa...
Definition: YiSceneNode.h:99
void SetScaleY(float factor)
void SetRotation(const glm::vec3 &eulerDegrees)
void SetOrientation(float pitchDegrees, float yawDegrees, float rollDegrees)
void SetAnchorPoint(const glm::vec3 &ref)
void SetOpacity(float opacity)
void SetAnchorPointX(float x)
void SetScaleZ(float factor)
void SetInternalCustomTimelineValue(uint32_t trackID, const CYIVariant &value)
A class used to proxy access to a CYIEventTarget.
Definition: YiEventTargetProxy.h:19
const CYISceneNode * GetSceneNode() const
void SetRotationX(float pitchDegrees)
void SetAnchorPointZ(float z)