AnchorSettings Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Settings related to management of the internal anchor graph.
[System.Serializable]
public struct AnchorSettings
[<System.Serializable>]
type AnchorSettings = struct
Public Structure AnchorSettings
- Inheritance
-
AnchorSettings
- Attributes
Fields
anchorSubsystem |
Choice of subsystem that supplies anchors. |
ARSessionOriginSource |
GameObject which has (or will have) the ARSessionOrigin component, required when using AR Foundation. |
ARSessionSource |
GameObject which has (or will have) the ARSession component, required when using the AR Foundation. |
MaxAnchorEdgeLength |
The maximum distance between two anchors to connect them with a graph edge. |
MaxLocalAnchors |
The maximum number of local anchors in the internal anchor graph. |
MinNewAnchorDistance |
The minimum distance to the current closest anchor before creating a new anchor. |
NullSubsystemInEditor |
Use the Null anchor subsystem when running in Unity Editor. |
Properties
IsValid |
Check the validity of the settings. |
UseDefaults |
Ignore set values and use default behavior. When set, will reset all values to defaults. |
Methods
InitToDefaults() |
Init all fields to default values. |