BasicEffect Members
The following tables list the members exposed by the BasicEffect type.
Public Constructors
Name | Description | |
---|---|---|
BasicEffect | Overloaded. Initializes a new instance of the BasicEffect class. |
Public Properties
Name | Description | |
---|---|---|
Alpha | Gets or sets the alpha this effect material. | |
AmbientLightColor | Gets or sets the ambient light color of this effect. | |
Creator | (Inherited from Effect.) | |
CurrentTechnique | (Inherited from Effect.) | |
DiffuseColor | Gets or sets the diffuse color of this effect material. Value takes 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. | |
EffectPool | (Inherited from Effect.) | |
EmissiveColor | Gets or sets the emissive color of the effect material. | |
FogColor | Gets or sets the fog color for this effect. | |
FogEnabled | Enables fog for this effect. | |
FogEnd | Gets or sets the ending distance of fog. | |
FogStart | Gets or sets the fog start distance. | |
Functions | (Inherited from Effect.) | |
GraphicsDevice | (Inherited from Effect.) | |
IsDisposed | (Inherited from Effect.) | |
LightingEnabled | Enables lighting for this effect. | |
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 of this effect material. | |
SpecularPower | Gets or sets the specular power of this effect material. | |
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 | |
---|---|---|
Begin | (Inherited from Effect.) | |
Clone | Creates a clone of an effect. | |
CommitChanges | (Inherited from Effect.) | |
CompileEffectFromFile | (Inherited from Effect.) | |
CompileEffectFromSource | (Inherited from Effect.) | |
Disassemble | (Inherited from Effect.) | |
Dispose | (Inherited from Effect.) | |
EnableDefaultLighting | Enables default lighting for this effect. | |
End | (Inherited from Effect.) | |
Equals | (Inherited from Effect.) | |
GetHashCode | (Inherited from Effect.) | |
GetType | (Inherited from Object.) | |
op_Equality | (Inherited from Effect.) | |
op_Inequality | (Inherited from Effect.) | |
ReferenceEquals | (Inherited from Object.) | |
ToString | (Inherited from Effect.) |
Protected Methods
Name | Description | |
---|---|---|
Finalize | (Inherited from Effect.) | |
MemberwiseClone | (Inherited from Object.) | |
raise_Disposing | (Inherited from Effect.) | |
raise_Lost | (Inherited from Effect.) | |
raise_Reset | (Inherited from Effect.) |
Public Events
Name | Description | |
---|---|---|
Disposing | (Inherited from Effect.) | |
Lost | (Inherited from Effect.) | |
Reset | (Inherited from Effect.) |
See Also
Reference
BasicEffect Class
Microsoft.Xna.Framework.Graphics Namespace