Class XRFaceTrackingMesh
Enables face tracking and renders a face mesh.
Inheritance
DependencyObject
AttachableObject
PrefabInstanceObject
Component
BaseModel
MeshComponent
XRFaceTrackingMesh
Implements
Inherited Members
MeshComponent.modelLink
MeshComponent.meshContainer
MeshComponent.ChangedMesh
MeshComponent.modelMeshName
MeshComponent.MeshCount
MeshComponent.MeshContainer
MeshComponent.MeshNames
MeshComponent.Meshes
MeshComponent.BoundingBox
MeshComponent.OnDestroy()
MeshComponent.UnloadModel()
MeshComponent.ThrowRefreshEvent()
MeshComponent.RefreshMesh()
BaseModel.customBoundingBoxSet
BaseModel.Refreshed
BaseModel.BoundingBoxRefreshed
Component.Owner
Component.Managers
Component.ShouldBeActivated
Component.Clone()
Component.Attach(Entity)
Component.OnLoaded()
Component.OnActivated()
Component.Start()
Component.OnDeactivated()
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 XRFaceTrackingMesh : MeshComponent, IDependencyObject
Fields
graphicsContext
Graphics context.
Declaration
[BindService(true)]
protected GraphicsContext graphicsContext
Field Value
Type | Description |
---|---|
GraphicsContext |
transform
Owner's transform.
Declaration
[BindComponent(true, true, BindComponentSource.Owner, null, true)]
protected Transform3D transform
Field Value
Type | Description |
---|---|
Transform3D |
Properties
Model
Gets the model data.
Declaration
public Model Model { get; }
Property Value
Type | Description |
---|---|
Model |
ModelMeshName
Gets the specify the mesh name to render.
Declaration
public string ModelMeshName { get; }
Property Value
Type | Description |
---|---|
string |
Methods
OnAnchorAdded()
Invoked when face anchor has been detected.
Declaration
protected virtual void OnAnchorAdded()
OnAnchorRemoved()
Invoked when face anchor has been removed.
Declaration
protected virtual void OnAnchorRemoved()
OnAnchorUpdated()
Invoked when face anchor has been updated.
Declaration
protected virtual void OnAnchorUpdated()
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.Components.Graphics3D.MeshComponent.OnAttached()
OnDetach()
Invoked when the object is detached.
Declaration
protected override void OnDetach()
Overrides
Evergine.Framework.Component.OnDetach()