6#include <kanzi/core.ui/node/model3d.hpp>
32 KZ_METACLASS_PROPERTY_TYPE(OverrideMeshProperty)
38 static PropertyType<ResourceSharedPtr> OverrideMeshProperty;
42 MeshSharedPtr getOverrideMesh()
const
44 return dynamic_pointer_cast<Mesh>(getProperty(OverrideMeshProperty));
51 setProperty(OverrideMeshProperty, value);
56 ConceptClass::handleStartAppMessage(messageArguments);
61 ConceptClass::handleFinishAppMessage(messageArguments);
66 ConceptClass::handleNavigateBackMessage(messageArguments);
71 ConceptClass::handleUpdateVirtualDisplayMessage(messageArguments);
75 explicit AppView3D(Domain* domain, string_view name);
80 const TouchPoint& touchPoint,
81 Vector2& outHitUV)
override;
97 MeshSharedPtr createDefaultMesh();
Definition app_view.hpp:12
shared_ptr< AppView3D > AppView3DSharedPtr
Definition app_view_3d.hpp:20
Definition app_view.hpp:55
Definition app_view.hpp:71
Definition app_view.hpp:79
Definition app_view.hpp:93
Definition app_view.hpp:142
App View 3D. Starts and renders a 3rd party application.
Definition app_view_3d.hpp:24
void onAppViewTextureChanged() override
AppView::onAppViewTextureChanged() implementation.
bool calculateHitUV(const TouchPoint &touchPoint, Vector2 &outHitUV) override
void onNavigateBack(const NavigateBackMessageArguments &messageArguments)
Definition app_view_3d.hpp:64
void onNodePropertyChanged(AbstractPropertyType propertyType, PropertyNotificationReason reason) override
Node::onNodePropertyChanged() implementation.
static PropertyTypeEditorInfoSharedPtr makeEditorInfo()
Defines editor information for Kanzi Studio.
AppView3D(Domain *domain, string_view name)
void setupMaterialOverride() override
static AppView3DSharedPtr create(Domain *domain, string_view name)
void onFinishApp(FinishAppMessageArguments &messageArguments)
Definition app_view_3d.hpp:59
void onUpdateVirtualDisplay(const UpdateVirtualDisplayMessageArguments &messageArguments)
Definition app_view_3d.hpp:69
void setOverrideMesh(ResourceSharedPtr value)
Sets the value of OverrideMeshProperty.
Definition app_view_3d.hpp:49
void onStartApp(const StartAppMessageArguments &messageArguments)
Definition app_view_3d.hpp:54