Interface IWebXRAnchorSystemOptions
interface IWebXRAnchorSystemOptions {
clearAnchorsOnSessionInit?: boolean;
doNotRemoveAnchorsOnSessionEnded?: boolean;
worldParentNode?: TransformNode;
}
clearAnchorsOnSessionInit?: boolean;
doNotRemoveAnchorsOnSessionEnded?: boolean;
worldParentNode?: TransformNode;
}
Index
Properties
Optionalclear Anchors On Session Init
clearAnchorsOnSessionInit?: boolean
If set to true, all anchor arrays will be cleared when the session initializes
Optionaldo Not Remove Anchors On Session Ended
doNotRemoveAnchorsOnSessionEnded?: boolean
If set to true a reference of the created anchors will be kept until the next session starts If not defined, anchors will be removed from the array when the feature is detached or the session ended.
Optionalworld Parent Node
a node that will be used to convert local to world coordinates
Configuration options of the anchor system