XRInitOptions¶
Type Alias XRInitOptions
XRInitOptions: {
fitView?: boolean;
resetHard?: boolean;
resetInitTemplate?: boolean;
}
fitView?: boolean;
resetHard?: boolean;
resetInitTemplate?: boolean;
}
Type declaration
Optional
fitView?: booleanSpecify 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.
Optional
resetHard?: booleanSpecify if a reset hard should be executed. If set to true all runtime data learned during tracking will be omitted.
Optional
resetInitTemplate?: booleanSpecify if a reset should also reset Init data. InitTemplates can be imported via the function RealityAPI.importXRInitTemplate.
Defines the behavior of the initialization mode for modeltracking.