Export (0) Print
Expand All

SkinnedEffect Class

Contains a configurable effect for rendering skinned character models.

System.Object
  Microsoft.Xna.Framework.Graphics.Effect
    Microsoft.Xna.Framework.Graphics.SkinnedEffect

Namespace:  Microsoft.Xna.Framework.Graphics
Assembly:  Microsoft.Xna.Framework.Graphics.Extensions (in Microsoft.Xna.Framework.Graphics.Extensions.dll)

public class SkinnedEffect : Effect, 
	IEffectMatrices, IEffectLights, IEffectFog

The SkinnedEffect type exposes the following members.

  NameDescription
Public methodSkinnedEffectInitializes a new instance of the SkinnedEffect class.
Top

  NameDescription
Public propertyAlphaGets or sets the material alpha which determines its transparency. Range is between 1 (fully opaque) and 0 (fully transparent).
Public propertyAmbientLightColorGets or sets the ambient color for a light, the range of color values is from 0 to 1.
Public propertyCurrentTechniqueGets or sets the active technique. (Inherited from Effect.)
Public propertyDiffuseColorGets or sets the diffuse color for a material, the range of color values is from 0 to 1.
Public propertyDirectionalLight0Gets the first directional light.
Public propertyDirectionalLight1Gets the second directional light.
Public propertyDirectionalLight2Gets the third directional light.
Public propertyEmissiveColorGets or sets the emissive color for a material, the range of color values is from 0 to 1.
Public propertyFogColorGets or sets the fog color, the range of color values is from 0 to 1.
Public propertyFogEnabledGets or sets the fog enable flag.
Public propertyFogEndGets or sets the maximum z value for fog.
Public propertyFogStartGets or sets the minimum z value for fog.
Public propertyIsDisposedGets a value that indicates whether the object is disposed. (Inherited from Effect.)
Public propertyPreferPerPixelLightingGets or sets the per-pixel prefer lighting flag.
Public propertyProjectionGets or sets the projection matrix.
Public propertySpecularColorGets or sets the specular color for a material, the range of color values is from 0 to 1.
Public propertySpecularPowerGets or sets the material specular power.
Public propertyTechniquesGets a collection of techniques that are defined for this effect. (Inherited from Effect.)
Public propertyTextureGets or sets the current texture.
Public propertyViewGets or sets the view matrix.
Public propertyWeightsPerVertexGets or sets the number of per-vertex skinning weights to evaluate, which is either 1, 2, or 4.
Public propertyWorldGets or sets the world matrix.
Top

  NameDescription
Public methodDispose()Immediately releases the unmanaged resources used by this object. (Inherited from Effect.)
Protected methodDispose(Boolean)Releases the unmanaged resources used by the Effect and optionally releases the managed resources. (Inherited from Effect.)
Public methodEnableDefaultLightingSets up standard key, fill, and back lighting for a SkinnedEffect.
Protected methodFinalizeAllows this object to attempt to free resources and perform other cleanup operations before garbage collection reclaims the object. (Inherited from Effect.)
Public methodGetBoneTransformsGets the bone transform matrices for a SkinnedEffect.
Public methodSetBoneTransformsSets an array of bone transform matrices for a SkinnedEffect.
Top

  NameDescription
Public fieldStatic memberMaxBonesIdentifies the MaxBones dependency property.
Top

  NameDescription
Explicit interface implemetationPrivate propertyIEffectLights.LightingEnabledEnables lighting in an SkinnedEffect.
Top

Silverlight

Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft