3 #ifndef APP_VIEW_3D_HPP 4 #define APP_VIEW_3D_HPP 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);
77 void setupMaterialOverride()
override;
80 const TouchPoint& touchPoint,
81 Vector2& outHitUV)
override;
84 void onAppViewTextureChanged()
override;
85 void updateMaterial();
89 void onNodePropertyChanged(AbstractPropertyType propertyType, PropertyNotificationReason reason)
override;
92 static PropertyTypeEditorInfoSharedPtr makeEditorInfo();
97 MeshSharedPtr createDefaultMesh();
void setOverrideMesh(ResourceSharedPtr value)
Sets the value of OverrideMeshProperty.
Definition: app_view_3d.hpp:49
void onFinishApp(FinishAppMessageArguments &messageArguments)
Definition: app_view_3d.hpp:59
Definition: app_view.hpp:78
Definition: app_view.hpp:11
Definition: app_view.hpp:70
void onUpdateVirtualDisplay(const UpdateVirtualDisplayMessageArguments &messageArguments)
Definition: app_view_3d.hpp:69
shared_ptr< AppView3D > AppView3DSharedPtr
Definition: app_view_3d.hpp:20
void onStartApp(const StartAppMessageArguments &messageArguments)
Definition: app_view_3d.hpp:54
Definition: app_view.hpp:92
Definition: app_view.hpp:141
App View 3D. Starts and renders a 3rd party application.
Definition: app_view_3d.hpp:23
void onNavigateBack(const NavigateBackMessageArguments &messageArguments)
Definition: app_view_3d.hpp:64
Definition: app_view.hpp:54