Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The following tables list the members exposed by the BasicEffect type.
Public Constructors
Name | Description | |
---|---|---|
![]() |
BasicEffect | Overloaded. Creates an instance of this object. |
Public Properties
Name | Description | |
---|---|---|
![]() |
Alpha | Gets or sets the material alpha which determines its transparency. Range is between 1 (fully opaque) and 0 (fully transparent). |
![]() |
AmbientLightColor | Gets or sets the ambient color for a light, the range of color values is from 0 to 1. |
![]() |
CurrentTechnique | (Inherited from Effect.) |
![]() |
DiffuseColor | Gets or sets the diffuse color for a material, the range of color values is from 0 to 1. |
![]() |
DirectionalLight0 | Gets the first directional light for this effect. |
![]() |
DirectionalLight1 | Gets the second directional light for this effect. |
![]() |
DirectionalLight2 | Gets the third directional light for this effect. |
![]() |
EmissiveColor | Gets or sets the emissive color for a material, the range of color values is from 0 to 1. |
![]() |
FogColor | Gets or sets the fog color, the range of color values is from 0 to 1. |
![]() |
FogEnabled | Enables fog. |
![]() |
FogEnd | Gets or sets the maximum z value for fog. |
![]() |
FogStart | Gets or sets the minimum z value for fog. |
![]() |
GraphicsDevice | (Inherited from GraphicsResource.) |
![]() |
IsDisposed | (Inherited from GraphicsResource.) |
![]() |
LightingEnabled | Enables lighting for this effect. |
![]() |
Name | (Inherited from GraphicsResource.) |
![]() |
Parameters | (Inherited from Effect.) |
![]() |
PreferPerPixelLighting | Gets or sets a value indicating that per-pixel lighting should be used if it is available for the current adapter. Per-pixel lighting is available if a graphics adapter supports Pixel Shader Model 2.0. |
![]() |
Projection | Gets or sets the projection matrix. |
![]() |
SpecularColor | Gets or sets the specular color for a material, the range of color values is from 0 to 1. |
![]() |
SpecularPower | Gets or sets the specular power of this effect material. |
![]() |
Tag | (Inherited from GraphicsResource.) |
![]() |
Techniques | (Inherited from Effect.) |
![]() |
Texture | Gets or sets a texture to be applied by this effect. |
![]() |
TextureEnabled | Enables textures for this effect. |
![]() |
VertexColorEnabled | Enables use vertex colors for this effect. |
![]() |
View | Gets or sets the view matrix. |
![]() |
World | Gets or sets the world matrix. |
Public Methods
Name | Description | |
---|---|---|
![]() |
Clone | Create a copy of this object. |
![]() |
Dispose | (Inherited from GraphicsResource.) |
![]() |
EnableDefaultLighting | Enables default lighting for this effect. |
![]() |
Equals | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
ToString | (Inherited from GraphicsResource.) |
Protected Methods
Name | Description | |
---|---|---|
![]() |
Dispose | (Inherited from Effect.) |
![]() |
Finalize | (Inherited from GraphicsResource.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
OnApply | Computes derived parameter values immediately before applying the effect. |
Public Events
Name | Description | |
---|---|---|
![]() |
Disposing | (Inherited from GraphicsResource.) |
See Also
Reference
BasicEffect Class
Microsoft.Xna.Framework.Graphics Namespace