Class SkinningSceneManager
Manager that handles all the skinning meshes.
Inheritance
SkinningSceneManager
Implements
Inherited Members
Namespace: Evergine.Framework.Managers
Assembly: Evergine.Framework.dll
Syntax
public class SkinningSceneManager : UpdatableSceneManager, IDependencyObject
Properties
IsComputeEnabled
Gets a value indicating whether compute shader skinning is enabled.
Declaration
public bool IsComputeEnabled { get; }
Property Value
Type | Description |
---|---|
bool |
MorphingComputeEffect
Gets the morphing compute effect.
Declaration
public Effect MorphingComputeEffect { get; }
Property Value
Type | Description |
---|---|
Effect |
SkinningComputeEffect
Gets the compute skinning effect.
Declaration
public Effect SkinningComputeEffect { get; }
Property Value
Type | Description |
---|---|
Effect |
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
OnDetach()
Invoked when the object is detached.
Declaration
protected override void OnDetach()
Overrides
RegisterSkinnedRenderer(SkinnedMeshRenderer)
Registers a skinned renderer.
Declaration
public void RegisterSkinnedRenderer(SkinnedMeshRenderer skinnedRenderer)
Parameters
Type | Name | Description |
---|---|---|
SkinnedMeshRenderer | skinnedRenderer | The skinned renderer. |
UnregisterSkinnedRenderer(SkinnedMeshRenderer)
Unregisters a skinned renderer.
Declaration
public void UnregisterSkinnedRenderer(SkinnedMeshRenderer skinnedRenderer)
Parameters
Type | Name | Description |
---|---|---|
SkinnedMeshRenderer | skinnedRenderer | The skinned renderer. |
Update(TimeSpan)
Updates this manager.
Declaration
public override void Update(TimeSpan gameTime)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | gameTime | The game time. |