Meta SDK2 Beta  2.7.0
Meta.IMetaReconstruction Interface Reference

Inherited by Meta.MetaReconstruction.

Public Member Functions

void InitReconstruction ()
 Initializes the reconstruction process. More...
 
void PauseResumeReconstruction ()
 Toggles on and off the reconstruction process. More...
 
void ResetReconstruction ()
 Resets the reconstruction mesh. More...
 
void RestartReconstruction ()
 Restart the reconstruction process. More...
 
void StopReconstruction ()
 Stops the reconstruction process. More...
 
void LoadReconstruction (string profileName=null)
 Loads the reconstruction for the given map or the one currently active.

Parameters
profileNameThe slam map name
More...
 
void CleanMeshes ()
 Cleans the current environment meshes. More...
 
void SaveReconstruction (string environmentProfileName=null, bool saveChangesInProfile=true)
 Save the current scanned reconstruction in .obj files

Parameters
environmentProfileNameThe environment profile name
saveChangesInProfileWhether to save changes in profile or not
More...
 
void DeleteReconstructionMeshFiles (string profileName, bool saveChangesInProfile=true)
 Delete meshes related to the given map. More...
 

Properties

UnityEvent ReconstructionStarted [get]
 Occurs after the reconstruction process is initialized. More...
 
UnityEvent ReconstructionPaused [get]
 Occurs when the reconstruction process is paused. More...
 
UnityEvent ReconstructionResumed [get]
 Occurs when the reconstruction process is resumed. More...
 
UnityEvent ReconstructionReset [get]
 Occurs after the reconstruction is reset. More...
 
UnityEvent ReconstructionSaved [get]
 Occurs after all the meshes are saved. More...
 
GameObjectEvent ReconstructionLoaded [get]
 Occurs after all saved meshes are loaded on the scene. Returns the parent GameObject of all the reconstruction meshes. More...
 

Member Function Documentation

◆ CleanMeshes()

void Meta.IMetaReconstruction.CleanMeshes ( )

Cleans the current environment meshes.

◆ DeleteReconstructionMeshFiles()

void Meta.IMetaReconstruction.DeleteReconstructionMeshFiles ( string  profileName,
bool  saveChangesInProfile = true 
)

Delete meshes related to the given map.

Parameters
profileNameThe slam map name
saveChangesInProfileWhether to save changes in profile or not

◆ InitReconstruction()

void Meta.IMetaReconstruction.InitReconstruction ( )

Initializes the reconstruction process.

◆ LoadReconstruction()

void Meta.IMetaReconstruction.LoadReconstruction ( string  profileName = null)

Loads the reconstruction for the given map or the one currently active.

Parameters
profileNameThe slam map name

◆ PauseResumeReconstruction()

void Meta.IMetaReconstruction.PauseResumeReconstruction ( )

Toggles on and off the reconstruction process.

◆ ResetReconstruction()

void Meta.IMetaReconstruction.ResetReconstruction ( )

Resets the reconstruction mesh.

◆ RestartReconstruction()

void Meta.IMetaReconstruction.RestartReconstruction ( )

Restart the reconstruction process.

◆ SaveReconstruction()

void Meta.IMetaReconstruction.SaveReconstruction ( string  environmentProfileName = null,
bool  saveChangesInProfile = true 
)

Save the current scanned reconstruction in .obj files

Parameters
environmentProfileNameThe environment profile name
saveChangesInProfileWhether to save changes in profile or not

◆ StopReconstruction()

void Meta.IMetaReconstruction.StopReconstruction ( )

Stops the reconstruction process.

Property Documentation

◆ ReconstructionLoaded

GameObjectEvent Meta.IMetaReconstruction.ReconstructionLoaded
get

Occurs after all saved meshes are loaded on the scene. Returns the parent GameObject of all the reconstruction meshes.

◆ ReconstructionPaused

UnityEvent Meta.IMetaReconstruction.ReconstructionPaused
get

Occurs when the reconstruction process is paused.

◆ ReconstructionReset

UnityEvent Meta.IMetaReconstruction.ReconstructionReset
get

Occurs after the reconstruction is reset.

◆ ReconstructionResumed

UnityEvent Meta.IMetaReconstruction.ReconstructionResumed
get

Occurs when the reconstruction process is resumed.

◆ ReconstructionSaved

UnityEvent Meta.IMetaReconstruction.ReconstructionSaved
get

Occurs after all the meshes are saved.

◆ ReconstructionStarted

UnityEvent Meta.IMetaReconstruction.ReconstructionStarted
get

Occurs after the reconstruction process is initialized.