Script handle to a scene node (hostName + nodeId). Deliberately holds strings rather than arena pointers, so it stays valid across rebuilds/reconcile. Node-level entity bindings are forwarded through the Scene module.
更多...
#include <SceneNodeRef.h>
Script handle to a scene node (hostName + nodeId). Deliberately holds strings rather than arena pointers, so it stays valid across rebuilds/reconcile. Node-level entity bindings are forwarded through the Scene module.
在文件 SceneNodeRef.h 第 20 行定义.
◆ SceneNodeRef() [1/2]
| eve::scene::SceneNodeRef::SceneNodeRef |
( |
| ) |
|
|
default |
◆ SceneNodeRef() [2/2]
| eve::scene::SceneNodeRef::SceneNodeRef |
( |
std::string |
hostName, |
|
|
std::string |
nodeId |
|
) |
| |
|
inline |
◆ getChildCount()
| int eve::scene::SceneNodeRef::getChildCount |
( |
| ) |
const |
◆ getChildIdAt()
| std::string eve::scene::SceneNodeRef::getChildIdAt |
( |
int |
ordinal | ) |
const |
◆ getForward()
| std::vector< float > eve::scene::SceneNodeRef::getForward |
( |
| ) |
const |
◆ getHostName()
| std::string eve::scene::SceneNodeRef::getHostName |
( |
| ) |
const |
|
inline |
◆ getNodeId()
| std::string eve::scene::SceneNodeRef::getNodeId |
( |
| ) |
const |
|
inline |
◆ getParentId()
| std::string eve::scene::SceneNodeRef::getParentId |
( |
| ) |
const |
◆ getPath()
| std::string eve::scene::SceneNodeRef::getPath |
( |
| ) |
const |
◆ getPosition()
| std::vector< float > eve::scene::SceneNodeRef::getPosition |
( |
| ) |
const |
◆ getPositionX()
| float eve::scene::SceneNodeRef::getPositionX |
( |
| ) |
const |
◆ getPositionY()
| float eve::scene::SceneNodeRef::getPositionY |
( |
| ) |
const |
◆ getPositionZ()
| float eve::scene::SceneNodeRef::getPositionZ |
( |
| ) |
const |
◆ getRight()
| std::vector< float > eve::scene::SceneNodeRef::getRight |
( |
| ) |
const |
◆ getRotation()
| std::vector< float > eve::scene::SceneNodeRef::getRotation |
( |
| ) |
const |
◆ getRotationPitch()
| float eve::scene::SceneNodeRef::getRotationPitch |
( |
| ) |
const |
◆ getRotationRoll()
| float eve::scene::SceneNodeRef::getRotationRoll |
( |
| ) |
const |
◆ getRotationYaw()
| float eve::scene::SceneNodeRef::getRotationYaw |
( |
| ) |
const |
◆ getScale()
| std::vector< float > eve::scene::SceneNodeRef::getScale |
( |
| ) |
const |
◆ getScaleX()
| float eve::scene::SceneNodeRef::getScaleX |
( |
| ) |
const |
◆ getScaleY()
| float eve::scene::SceneNodeRef::getScaleY |
( |
| ) |
const |
◆ getScaleZ()
| float eve::scene::SceneNodeRef::getScaleZ |
( |
| ) |
const |
◆ getScene()
| Scene * eve::scene::SceneNodeRef::getScene |
( |
| ) |
const |
Returns the eve.Scene module instance for entity-binding forwarding.
- 返回
- Borrowed nullable module singleton; null means the module is unavailable. @ownership The module system owns the Scene instance; callers must not delete it. @lifetime Valid while the scene module is loaded; do not retain across unload. @thread Call on the scene/script thread. @reentrancy The accessor invokes no callbacks and is invalid across module teardown.
在文件 SceneNodeRef.cpp 第 49 行定义.
◆ getUp()
| std::vector< float > eve::scene::SceneNodeRef::getUp |
( |
| ) |
const |
◆ getWorldMatrix()
| std::vector< float > eve::scene::SceneNodeRef::getWorldMatrix |
( |
| ) |
const |
◆ getWorldPosition()
| std::vector< float > eve::scene::SceneNodeRef::getWorldPosition |
( |
| ) |
const |
◆ getWorldPositionX()
| float eve::scene::SceneNodeRef::getWorldPositionX |
( |
| ) |
const |
◆ getWorldPositionY()
| float eve::scene::SceneNodeRef::getWorldPositionY |
( |
| ) |
const |
◆ getWorldPositionZ()
| float eve::scene::SceneNodeRef::getWorldPositionZ |
( |
| ) |
const |
◆ isValid()
| bool eve::scene::SceneNodeRef::isValid |
( |
| ) |
const |
◆ isVisible()
| bool eve::scene::SceneNodeRef::isVisible |
( |
| ) |
const |
◆ persistentId()
◆ setPosition()
| bool eve::scene::SceneNodeRef::setPosition |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
◆ setRotation()
| bool eve::scene::SceneNodeRef::setRotation |
( |
float |
yaw, |
|
|
float |
pitch, |
|
|
float |
roll |
|
) |
| |
◆ setScale()
| bool eve::scene::SceneNodeRef::setScale |
( |
float |
sx, |
|
|
float |
sy, |
|
|
float |
sz |
|
) |
| |
◆ setVisible()
| bool eve::scene::SceneNodeRef::setVisible |
( |
bool |
v | ) |
|
该类的文档由以下文件生成: