This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
专业(SIM)
UnigineEditor
界面概述
资源工作流程
版本控制
设置和首选项
项目开发
调整节点参数
Setting Up Materials
设置属性
照明
Sandworm
使用编辑器工具执行特定任务
如何擴展編輯器功能
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
使用范例
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
材质和着色器
Rebuilding the Engine Tools
GUI
双精度坐标
应用程序接口
Animations-Related Classes
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
创建内容
内容优化
材质
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials

Unigine.VRMarkerObject Class

The class is used for managing a Varjo object marker. Varjo markers are typically used in mixed reality applications, but can be also used without video pass-through rendering in virtual reality applications to align virtual objects in the scene with physical objects in the real world.

Object markers are used to track static or dynamic objects in the user environment. You can use the object markers in both XR and VR applications. Each marker has a unique ID, and you shouldn't use the same marker more than once in any given environment. For added precision, an application can use multiple markers to track a single object. You can, for example, track a monitor by placing a marker in each corner.

VRMarkerObject Class

Properties

int ID#

The unique ID of the marker object.

mat4 Transform#

The marker pose transformation.

mat4 WorldTransform#

The marker pose transformation in global space.

vec3 Size#

The size of the marker.

vec3 Velocity#

The linear velocity.

vec3 AngularVelocity#

The angular velocity.

vec3 Acceleration#

The acceleration.

long RawTimestamp#

The timestamp of the pose. This represents the time the pose has been extrapolated to.

double Confidence#

The tracker confidence.

int PoseFlags#

The bit field value describing pose.

bool Dynamic#

The value indicating if the marker is tracked as dynamic (the marker pose is predicted).

float Lifetime#

The lifetime of the marker.

Members


void RenderVisualizer ( ) #

Renders visualizer for the marker object.
Last update: 2024-04-19
Build: ()