Class XRPassthroughSurfaceMeshComponent
This component is responsible to create a XR Passthrough surface object.
Inheritance
DependencyObject
AttachableObject
PrefabInstanceObject
Component
XRPassthroughSurfaceMeshComponent
Implements
Inherited Members
Component.Owner
Component.Managers
Component.ShouldBeActivated
Component.Clone()
Component.Attach(Entity)
Component.OnLoaded()
Component.OnActivated()
Component.OnDeactivated()
Component.OnDestroy()
PrefabInstanceObject.PrefabSource
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
Namespace: Evergine.Components.XR
Assembly: Evergine.Components.dll
Syntax
public class XRPassthroughSurfaceMeshComponent : Component, IDependencyObject
Properties
PassthroughLayerEntityPath
Gets or sets the entity 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 passthrough 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 all is OK. |
Overrides
Evergine.Framework.Component.OnAttached()
OnDetach()
Invoked when the object is detached.
Declaration
protected override void OnDetach()
Overrides
Evergine.Framework.Component.OnDetach()
Start()
Invoked to start the object.
Declaration
protected override void Start()
Overrides
Evergine.Framework.Component.Start()