Click or drag to resize
AB4D logo

XRayEffect Properties

The XRayEffect type exposes the following members.

Properties
 NameDescription
Public propertyColor Gets or sets a Color4 that is used to render all 3D models when OverrideModelColor property is set to true.
Public propertyOverrideBlendState When set (is not null), then this effect will use this BlendState.
Public propertyOverrideDepthStencilState When set (is not null), then this effect will use this DepthStencilState.
Public propertyOverrideFalloff Gets or sets a float that can be used as a Falloff value of all objects rendered by this effect (instead of a Falloff value from XRayMaterial). When 0 (by default), then the Falloff value from XRayMaterial is used.
Public propertyOverrideModelColor When true then the Color is used to render all the 3D models. When false (by default) the color defined in the model's material is used.
Public propertyOverrideRasterizerState When set (is not null), then this effect will use this RasterizerState.
Public propertyRequiredInputLayoutType Gets the input layout that is required to render this effect.
(Overrides EffectRequiredInputLayoutType)
Top
See Also