Search Results for

    Show / Hide Table of Contents

    Class SpatialMapping

    The SpatialMappingObserver class encapsulates the SurfaceObserver into an easy-to-use object that handles managing the observed surfaces and the rendering of surface geometry.

    Inheritance
    object
    IdentifiableObject
    DependencyObject
    AttachableObject
    PrefabInstanceObject
    Component
    Behavior
    BaseSpatialMapping
    SpatialMapping
    Implements
    IDependencyObject
    Inherited Members
    BaseSpatialMapping.MaxSurfaceUpdatesPerFrame
    BaseSpatialMapping.xrPlatform
    BaseSpatialMapping.timerFactory
    BaseSpatialMapping.spatialMappingObserver
    BaseSpatialMapping.Extents
    BaseSpatialMapping.TrianglesPerCubicMeter
    BaseSpatialMapping.ObtainNormals
    BaseSpatialMapping.UpdateInterval
    BaseSpatialMapping.OnAttached()
    BaseSpatialMapping.OnActivated()
    BaseSpatialMapping.Start()
    BaseSpatialMapping.Update(TimeSpan)
    BaseSpatialMapping.OnDeactivated()
    BaseSpatialMapping.OnDetach()
    BaseSpatialMapping.UpdateSurfaces()
    Behavior.Family
    Behavior.UpdateOrder
    Component.Owner
    Component.Managers
    Component.ShouldBeActivated
    Component.Clone()
    Component.Attach(Entity)
    Component.OnLoaded()
    Component.OnDestroy()
    PrefabInstanceObject.PrefabSource
    PrefabInstanceObject.RefreshPrefab(Prefab)
    PrefabInstanceObject.PrefabElementId
    PrefabInstanceObject.IsPrefabInstance
    PrefabInstanceObject.IsMissingPrefabSource
    AttachableObject.AttachableStateChanged
    AttachableObject.IsEnabled
    AttachableObject.State
    AttachableObject.IsLoaded
    AttachableObject.IsAttached
    AttachableObject.IsActivated
    AttachableObject.IsStarted
    AttachableObject.IsDestroyed
    AttachableObject.Destroy()
    AttachableObject.DependencyBroken()
    DependencyObject.Dependencies
    DependencyObject.OnDependencyRemoved
    IdentifiableObject.Id
    IdentifiableObject.IdHasChanged(Guid)
    Namespace: Evergine.Components.XR
    Assembly: Evergine.Components.dll
    Syntax
    public class SpatialMapping : BaseSpatialMapping, IDependencyObject

    Constructors

    SpatialMapping()

    Initializes a new instance of the SpatialMapping class.

    Declaration
    public SpatialMapping()

    Properties

    CollisionCategories

    Gets or sets the collision category bits.

    Declaration
    [DataMember]
    public CollisionCategory3D CollisionCategories { get; set; }
    Property Value
    Type Description
    CollisionCategory3D

    GenerateColliders

    Gets or sets a value indicating whether it is public.

    Declaration
    public bool GenerateColliders { get; set; }
    Property Value
    Type Description
    bool

    IsVisible

    Gets or sets a value indicating whether the mesh will be shown or not.

    Declaration
    [RenderProperty(Tooltip = "Indicate whether the mesh will shown or not.")]
    [DataMember]
    public bool IsVisible { get; set; }
    Property Value
    Type Description
    bool

    MaskBits

    Gets or sets the collision mask bits.

    Declaration
    [DataMember]
    public CollisionCategory3D MaskBits { get; set; }
    Property Value
    Type Description
    CollisionCategory3D

    Material

    Gets or sets the material path.

    Declaration
    [DataMember]
    public Material Material { get; set; }
    Property Value
    Type Description
    Material

    Methods

    OnSurfaceChanged(Guid, SpatialMappingSurface, SurfaceChange)

    Handles the SurfaceObserver's OnSurfaceChanged event.

    Declaration
    protected override void OnSurfaceChanged(Guid id, SpatialMappingSurface surface, SurfaceChange changeType)
    Parameters
    Type Name Description
    Guid id

    The identifier assigned to the surface that has changed.

    SpatialMappingSurface surface

    The surface.

    SurfaceChange changeType

    The type of change that occurred on the surface.

    Overrides
    BaseSpatialMapping.OnSurfaceChanged(Guid, SpatialMappingSurface, SurfaceChange)

    Implements

    IDependencyObject

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX