Search Results for

    Show / Hide Table of Contents

    Class XRPassthroughSurfaceMeshComponent

    This component is responsible for creating an XR Passthrough surface object.

    Inheritance
    object
    IdentifiableObject
    DependencyObject
    AttachableObject
    PrefabInstanceObject
    Component
    XRPassthroughSurfaceMeshComponent
    Implements
    IDependencyObject
    Inherited Members
    Component.Owner
    Component.Managers
    Component.ShouldBeActivated
    Component.Clone()
    Component.Attach(Entity)
    Component.OnLoaded()
    Component.OnActivated()
    Component.OnDeactivated()
    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 XRPassthroughSurfaceMeshComponent : Component, IDependencyObject

    Properties

    PassthroughLayerEntityPath

    Gets or sets the path of an entity that contains the passthrough layer.

    Declaration
    [RenderProperty(AttachToTag = 1, AttachToValue = XRPassthroughSurfaceSearchType.Scene)]
    public string PassthroughLayerEntityPath { get; set; }
    Property Value
    Type Description
    string

    SearchPassthroughLayer

    Gets or sets how to search the pass-through layer.

    Declaration
    [RenderProperty(Tag = 1)]
    public XRPassthroughSurfaceSearchType SearchPassthroughLayer { get; set; }
    Property Value
    Type Description
    XRPassthroughSurfaceSearchType

    SurfaceMeshes

    Gets the collection of surface meshes.

    Declaration
    public IEnumerable<XRPassthroughSurfaceMesh> SurfaceMeshes { get; }
    Property Value
    Type Description
    IEnumerable<XRPassthroughSurfaceMesh>

    Methods

    OnAttached()

    Invoked when the object is attached to the system.

    Declaration
    protected override bool OnAttached()
    Returns
    Type Description
    bool

    True if everything is OK.

    Overrides
    Component.OnAttached()

    OnDetach()

    Invoked when the object is detached.

    Declaration
    protected override void OnDetach()
    Overrides
    Component.OnDetach()

    Start()

    Invoked to start the object.

    Declaration
    protected override void Start()
    Overrides
    Component.Start()

    Implements

    IDependencyObject

    Extension Methods

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