Class TrackModelNode
Track the position of a node in a model.
Inheritance
DependencyObject
AttachableObject
PrefabInstanceObject
Component
Behavior
TrackModelNode
Implements
Inherited Members
Behavior.Family
Behavior.UpdateOrder
Component.Owner
Component.Managers
Component.ShouldBeActivated
Component.Clone()
Component.Attach(Entity)
Component.OnLoaded()
Component.OnActivated()
Component.Start()
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 TrackModelNode : Behavior, IDependencyObject
Fields
MeshComponent
The mesh component to obtain the model.
Declaration
[BindComponent(false, false, BindComponentSource.Owner, null, true)]
public MeshComponent MeshComponent
Field Value
Type | Description |
---|---|
MeshComponent |
NodeIndex
Getsa the node index.
Declaration
public int NodeIndex
Field Value
Type | Description |
---|---|
int |
Remarks
Only works when SelectionStrategy is ByNodeIndex.
SelectionStrategy
Gets or sets the selection strategy.
Declaration
public TrackModelNode.SelectionNodeStrategy SelectionStrategy
Field Value
Type | Description |
---|---|
TrackModelNode.SelectionNodeStrategy |
transform
Owner Entity Transform3D Component.
Declaration
[BindComponent(true, true, BindComponentSource.Owner, null, true)]
protected Transform3D transform
Field Value
Type | Description |
---|---|
Transform3D |
Properties
Model
Gets or sets the model.
Declaration
public Model Model { get; set; }
Property Value
Type | Description |
---|---|
Model |
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.Behavior.OnAttached()
OnDetach()
Invoked when the object is detached.
Declaration
protected override void OnDetach()
Overrides
Evergine.Framework.Behavior.OnDetach()
Update(TimeSpan)
Allows this instance to execute custom logic during its Update
.
Declaration
protected override void Update(TimeSpan gameTime)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | gameTime | The game time. |
Overrides
Remarks
This method will not be executed if the Evergine.Framework.Component, or the Evergine.Framework.Entity
owning it are not Active
.