MaxstARSDK  3.5.0
Public Member Functions | Properties | List of all members
maxstAR.AbstractMapViewerBehaviour Class Reference

Handles 3D map file for authoring. Map controller includes mappoint controller and keyframe controller. More...

Inheritance diagram for maxstAR.AbstractMapViewerBehaviour:

Public Member Functions

bool Load (string fileName)
 Read map file and create keyframe and mappoint as Unity3d object. More...
 
void UpdateMapViewer ()
 Updated the control changes of the authoring tool in the scene view. More...
 
void ApplyViewCamera (Vector3 position, Quaternion quaternion)
 Select the keyframe closest to the scene view. More...
 

Properties

int KeyframeIndex [get, set]
 Change the keyframe number of imported 3D map. More...
 
bool ShowMesh [get, set]
 Reconstruct map point cloud to 3D for authoring. More...
 
bool AutoCamera [get, set]
 Change the view point of the scene view. scene viewpoint in editor. Select the keyframe closest to the scene view. More...
 
int MaxKeyframeCount [get, set]
 Get the number of keyframes for the imported map. More...
 
bool Transparent [get, set]
 Changes the loaded map to translucent state. More...
 

Detailed Description

Handles 3D map file for authoring. Map controller includes mappoint controller and keyframe controller.

Definition at line 16 of file AbstractMapViewerBehaviour.cs.

Member Function Documentation

◆ ApplyViewCamera()

void maxstAR.AbstractMapViewerBehaviour.ApplyViewCamera ( Vector3  position,
Quaternion  quaternion 
)

Select the keyframe closest to the scene view.

Parameters
positionThe position coordinate of the scene view.
quaternionThe rotation coordinate of the scene view.

Definition at line 264 of file AbstractMapViewerBehaviour.cs.

◆ Load()

bool maxstAR.AbstractMapViewerBehaviour.Load ( string  fileName)

Read map file and create keyframe and mappoint as Unity3d object.

Parameters
fileName
Returns
MapViewer gameobject

Definition at line 111 of file AbstractMapViewerBehaviour.cs.

◆ UpdateMapViewer()

void maxstAR.AbstractMapViewerBehaviour.UpdateMapViewer ( )

Updated the control changes of the authoring tool in the scene view.

Definition at line 245 of file AbstractMapViewerBehaviour.cs.

Property Documentation

◆ AutoCamera

bool maxstAR.AbstractMapViewerBehaviour.AutoCamera
getset

Change the view point of the scene view. scene viewpoint in editor. Select the keyframe closest to the scene view.

Definition at line 54 of file AbstractMapViewerBehaviour.cs.

◆ KeyframeIndex

int maxstAR.AbstractMapViewerBehaviour.KeyframeIndex
getset

Change the keyframe number of imported 3D map.

Definition at line 24 of file AbstractMapViewerBehaviour.cs.

◆ MaxKeyframeCount

int maxstAR.AbstractMapViewerBehaviour.MaxKeyframeCount
getset

Get the number of keyframes for the imported map.

Definition at line 69 of file AbstractMapViewerBehaviour.cs.

◆ ShowMesh

bool maxstAR.AbstractMapViewerBehaviour.ShowMesh
getset

Reconstruct map point cloud to 3D for authoring.

Definition at line 39 of file AbstractMapViewerBehaviour.cs.

◆ Transparent

bool maxstAR.AbstractMapViewerBehaviour.Transparent
getset

Changes the loaded map to translucent state.

Definition at line 80 of file AbstractMapViewerBehaviour.cs.


The documentation for this class was generated from the following file: