Class Spinner
Spins a Evergine.Framework.Graphics.Transform3D component from an Evergine.Framework.Entity around any arbitrary axis.
Inheritance
DependencyObject
AttachableObject
PrefabInstanceObject
Component
Behavior
Spinner
Implements
Inherited Members
Behavior.Family
Behavior.UpdateOrder
Behavior.OnAttached()
Behavior.OnDetach()
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.Graphics3D
Assembly: Evergine.Components.dll
Syntax
public class Spinner : Behavior, IDependencyObject
Constructors
Spinner()
Initializes a new instance of the Spinner class.
Declaration
public Spinner()
Fields
AxisIncrease
The increase amount by axis.
Declaration
public Vector3 AxisIncrease
Field Value
Type | Description |
---|---|
Vector3 |
Methods
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
.