SkinnedEffect Class (Microsoft.Xna.Framework.Graphics)

Built-in effect for rendering skinned character models.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: MonoGame.Framework (MonoGame.Framework.dll
  • C#
  • VB
  • F#
public class SkinnedEffect : Effect, IEffectMatrices, IEffectLights, IEffectFog

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The SkinnedEffect type exposes the following members.

  Platforms Name Description
SkinnedEffect(GraphicsDevice) Creates a new SkinnedEffect with default parameter settings. 
SkinnedEffect(SkinnedEffect) Creates a new SkinnedEffect by cloning parameter settings from an existing instance. 
  Platforms Name Description
  Platforms Name Description
Alpha Gets or sets the material alpha. 
AmbientLightColor The floating point ambient light color. (Implements IEffectLights.AmbientLightColor().)
CurrentTechnique  (Inherited from Effect.)
DiffuseColor Gets or sets the material diffuse color (range 0 to 1). 
DirectionalLight0 Returns the first directional light. (Implements IEffectLights.DirectionalLight0().)
DirectionalLight1 Returns the second directional light. (Implements IEffectLights.DirectionalLight1().)
DirectionalLight2 Returns the third directional light. (Implements IEffectLights.DirectionalLight2().)
EmissiveColor Gets or sets the material emissive color (range 0 to 1). 
FogColor The floating point fog color. (Implements IEffectFog.FogColor().)
FogEnabled Used to toggle the rendering of fog. (Implements IEffectFog.FogEnabled().)
FogEnd The world space distance from the camera at which fogging is fully applied. (Implements IEffectFog.FogEnd().)
FogStart The world space distance from the camera at which fogging begins. (Implements IEffectFog.FogStart().)
GraphicsDevice  (Inherited from GraphicsResource.)
IsDisposed  (Inherited from GraphicsResource.)
Name  (Inherited from GraphicsResource.)
Parameters  (Inherited from Effect.)
PreferPerPixelLighting Gets or sets the per-pixel lighting prefer flag. 
Projection Gets or sets the projection matrix. (Implements IEffectMatrices.Projection().)
SpecularColor Gets or sets the material specular color (range 0 to 1). 
SpecularPower Gets or sets the material specular power. 
Tag  (Inherited from GraphicsResource.)
Techniques  (Inherited from Effect.)
Texture Gets or sets the current texture. 
View Gets or sets the view matrix. (Implements IEffectMatrices.View().)
WeightsPerVertex Gets or sets the number of skinning weights to evaluate for each vertex (1, 2, or 4). 
World Gets or sets the world matrix. (Implements IEffectMatrices.World().)
  Platforms Name Description
Clone Creates a clone of the current SkinnedEffect instance. (Overrides Effect.Clone().)
Dispose()  (Inherited from GraphicsResource.)
Dispose(bool) The method that derived classes should override to implement disposing of managed and native resources. (Inherited from Effect.)
EnableDefaultLighting Sets up the standard key/fill/back lighting rig. (Implements IEffectLights.EnableDefaultLighting().)
Finalize  (Inherited from GraphicsResource.)
GetBoneTransforms Gets a copy of the current skinning bone transform matrices. 
GraphicsDeviceResetting Called before the device is reset. Allows graphics resources to invalidate their state so they can be recreated after the device reset. Warning: This may be called after a call to Dispose() up until the resource is garbage collected. (Inherited from Effect.)
OnApply Lazily computes derived parameter values immediately before applying the effect. (Overrides Effect.OnApply().)
SetBoneTransforms Sets an array of skinning bone transform matrices. 
ToString  (Inherited from GraphicsResource.)
  Platforms Name Description
Disposing  (Inherited from GraphicsResource.)
Supported in:

 Windows DirectX Desktop
 Linux Desktop
 Windows OpenGL Desktop