BasicEffect Properties

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 PropertyCurrentTechnique(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 for this effect.
Public PropertyDirectionalLight1Gets the second directional light for this effect.
Public PropertyDirectionalLight2Gets the third directional light for this effect.
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 PropertyFogEnabledEnables fog.
Public PropertyFogEndGets or sets the maximum z value for fog.
Public PropertyFogStartGets or sets the minimum z value for fog.
Public PropertyGraphicsDevice(Inherited from GraphicsResource.)
Public PropertyIsDisposed(Inherited from GraphicsResource.)
Public PropertyLightingEnabledEnables lighting for this effect.
Public PropertyName(Inherited from GraphicsResource.)
Public PropertyParameters(Inherited from Effect.)
Public PropertyPreferPerPixelLightingGets 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.
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 specular power of this effect material.
Public PropertyTag(Inherited from GraphicsResource.)
Public PropertyTechniques(Inherited from Effect.)
Public PropertyTextureGets or sets a texture to be applied by this effect.
Public PropertyTextureEnabledEnables textures for this effect.
Public PropertyVertexColorEnabledEnables use vertex colors for this effect.
Public PropertyViewGets or sets the view matrix.
Public PropertyWorldGets or sets the world matrix.

Community Additions

ADD
Show: