Thick |
public class ThickLineEffect : Effect
The ThickLineEffect type exposes the following members.
Name | Description | |
---|---|---|
ThickLineEffect | Constructor | |
ThickLineEffect(String) | Constructor |
Name | Description | |
---|---|---|
CustomWireframeRasterizerState | Gets or sets a RasterizerState that can be used when 3D lines are drawn without using geometry shader. If not set then DxDevice.CommonStates.WireframeMultisample is used. | |
GlobalLineThicknessFactor | Gets or sets a double value that is multiplied by all LineThickness values for all line materials that are rendered by this ThickLineEffect. Default value is 1. This preserves the original LineThickness. Changing this value can change the line thickness of all lines in the scene. | |
OverrideBlendState | When OverrideBlendState is set then ThickLineEffect will use that blend state. When null (by default) then Opaque blend state is used when lines's alpha color is 1, and NonPremultipliedAlphaBlend is used when alpha color is less then 1. | |
RequiredInputLayoutType |
Gets the input layout that is required to render this effect.
(Overrides EffectRequiredInputLayoutType) | |
UseGeometryShader | Gets or sets a boolean that specifes if geometry shader is used to render the lines. Note that if DXScene.UseGeometryShaderFor3DLines is set to false, that this will override the value of UseGeometryShader property. |
Name | Description | |
---|---|---|
ApplyMaterial |
Applies the material and object's world matrix to this effect.
(Overrides EffectApplyMaterial(Material, RenderablePrimitiveBase)) | |
PreloadShaders |
PreloadShaders can be called to load the shaders in advance before they are used.
Calling this method increases the startup time, but when the 3D object needs to be shown, it is shown faster because all the shaders have already been created.
(Overrides EffectPreloadShaders) |
Name | Description | |
---|---|---|
EffectName | EffectName | |
NoPatternLinePattern | NoPatternLinePattern defines a line pattern that represents a solid line without any spaces. It value is 0xFFFF. |