Meta SDK2 Beta  2.7.0
Meta.AlignmentUserSettings Class Reference

Apply alignment user settings to the appropriate transforms. This component may be attached to any game object in the MetaCameraRig hierarchy. The LeftCamera and RightCamera member variables must be set to the left and right cameras of the MetaCameraRig accordingly. More...

Inheritance diagram for Meta.AlignmentUserSettings:
Meta.MetaBehaviour Meta.IAlignmentUpdateListener Meta.BaseMetaBehaviour< IMetaContext >

Public Member Functions

void OnAlignmentUpdate (AlignmentProfile newProfile)
 Sets a flag to load the camera positions from the alignment profile provided in the parameter at a later time. More...
 

Additional Inherited Members

- Properties inherited from Meta.BaseMetaBehaviour< IMetaContext >
metaContext [get]
 Contains references to modules used to provide Meta functionality in the scene. More...
 

Detailed Description

Apply alignment user settings to the appropriate transforms. This component may be attached to any game object in the MetaCameraRig hierarchy. The LeftCamera and RightCamera member variables must be set to the left and right cameras of the MetaCameraRig accordingly.

Member Function Documentation

◆ OnAlignmentUpdate()

void Meta.AlignmentUserSettings.OnAlignmentUpdate ( AlignmentProfile  newProfile)
inline

Sets a flag to load the camera positions from the alignment profile provided in the parameter at a later time.

Parameters
newProfilethe profile

Implements Meta.IAlignmentUpdateListener.