XRInitOptions#
Type alias XRInitOptions
XRInit Options: {
fitView?: boolean;
resetHard?: boolean;
resetInitTemplate?: boolean;
}
fitView?: boolean;
resetHard?: boolean;
resetInitTemplate?: boolean;
}
Type declaration
-
Optional
fitView?: boolean Specify if a view fitting should be performed. If set to true the model will be fitted to the current view volume. Otherwise it will stay at its current position.
Default
true
-
Optional
resetHard?: boolean Specify if a reset hard should be executed. If set to true all runtime data learned during tracking will be omitted.
Default
false
-
Optional
resetInit Template?: boolean Specify if a reset should also reset Init data. Init can be imported via the function importXRInitTemplate and will be present until enterInitMode with resetInitData set to true is called
Default
false
Defines the init behavior of modeltracking. E.g. the reset behavior.