ShaderParameters Class

Base class for shader parameters.
Public Class ShaderParameters 
Inherits ShaderParametersBase
This language is not supported or no code example is available.
public class ShaderParameters : ShaderParametersBase
This language is not supported or no code example is available.
Methods
 
Name Description
Public method Clone()
Public method Equals(Object) Determines whether the specified object is equal to the current object. (inherited from Object).
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
Public method GetHashCode Serves as the default hash function. (inherited from Object).
Public method GetType Gets the Type of the current instance. (inherited from Object).
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Public method PrepareForRender(RenderContextBase, IEnvironment)
Public method PrepareForTransparency(RenderContextBase, IEnvironment)
Public method PrepareForWireframe() Prepares parameters for wireframe drawing.
Public method ResetBlockRefTransform()
Public method Set(bool, bool, bool, bool)
Public method ToString Returns a string that represents the current object. (inherited from Object).
Top
Fields
 
Name Description
Public field AlphaClip If true, discards the fragment if alpha < 0.1.
Public field AlphaMap If true, the texture alpha is modulated by another texture defining the alpha map.
Public field Backface
Public field Background
Public field ColorsModulatedByIntensity
Public field DrawScale
Public field Environment
Public field EnvironmentMapping
Public field FirstPass
Public field ForceSetTransform Born for SimulationStock entity drawing in a different position when the machining setup is not Plane.XY. Shadow maps drawing with shaders needs proper modelView multiplication like all other SimulationStock drawing calls.
Public field LightWithShadow
Public field Lighting
Public field LightsEnabled
Public field MulticolorMode
Public field MulticolorNoLightsWithNormals
Public field NumberOfPasses
Public field NumberOfSplits
Public field PrimitiveType
Public field Selected
Public field ShadowAmbientFactor
Public field ShadowMode
Public field ShadowQuality
Public field ShadowTextureScale
Public field Texture1D
Public field Texture2D
Public field TextureEnvironment
Public field TextureOverExposure If true, the scene lighting can make the image diffuse color brighter than the image color.
Public field UseColorForAmbientAndDiffuse
Public field ViewFrame
Public field ZoomRect
Public field renderContext (inherited from ShaderParametersBase).
Public field withNormals
Top

.NET Framework

Supported in: 4.8

In this article

Definition