8#ifndef META_OCEAN_PLATFORM_META_QUEST_APPLICATION_VR_CONTROLLER_VISUALIZER_H
9#define META_OCEAN_PLATFORM_META_QUEST_APPLICATION_VR_CONTROLLER_VISUALIZER_H
256 bool loadModels(
const std::string& leftRenderModelFilename,
const std::string& rightRenderModelFilename);
304 ocean_assert(!leftRenderModelFilename.empty() && !rightRenderModelFilename.empty());
305 if (!
loadModels(leftRenderModelFilename, rightRenderModelFilename))
307 Log::error() <<
"Failed to load the render models of the controllers";
317 ocean_assert(!renderModelDirectoryName.empty());
319 if (
loadModels(deviceType, renderModelDirectoryName))
325 Log::error() <<
"Failed to load the render models of the controllers";
332 *
this = std::move(vrControllerVisualizer);
376#ifdef OCEAN_PLATFORM_META_QUEST_OPENXR_USE_EXTERNAL_CONTROLLER_MODEL_FILE
static MessageObject error()
Returns the message for error messages.
Definition Messenger.h:1095
This class implements a scoped lock object for recursive lock objects.
Definition Lock.h:147
HomogenousMatrixT4< Scalar > HomogenousMatrix4
Definition of the HomogenousMatrix4 object, depending on the OCEAN_MATH_USE_SINGLE_PRECISION flag eit...
Definition HomogenousMatrix4.h:44
float Scalar
Definition of a scalar type.
Definition Math.h:129
Ocean::ObjectRef< Engine > EngineRef
Definition of an engine reference object.
Definition Engine.h:30
SmartObjectRef< Transform > TransformRef
Definition of a smart object reference holding a transform node.
Definition rendering/Transform.h:30
SmartObjectRef< Scene > SceneRef
Definition of a smart object reference holding a scene node.
Definition rendering/Scene.h:29
SmartObjectRef< Framebuffer > FramebufferRef
Definition of a smart object reference holding a framebuffer.
Definition rendering/Framebuffer.h:38
The namespace covering the entire Ocean framework.
Definition Accessor.h:15