C1.Win.C1DX.4.8 Assembly / C1.Util.DX.Direct2D.Effects Namespace / SpotDiffuse Class


SpotDiffuse Class Properties

For a list of all members of this type, see SpotDiffuse members.

Public Properties
 NameDescription
Public PropertyGets or sets Cached property. (Inherited from C1.Util.DX.Direct2D.Properties)
Public PropertyThe color of the incoming light. This property is exposed as a C1.Util.DX.Vector3 – (R, G, B) and used to compute LR, LG, LB.  
Public PropertyGets or sets the associated instance of C1.Util.DX.Direct2D.CustomEffect. (Inherited from C1.Util.DX.Direct2D.Effect)
Public PropertyThe ratio of diffuse reflection to amount of incoming light. This property must be between 0 and 10,000 and is unitless.  
Public PropertyThe focus of the spot light. This property is unitless and is defined between 0 and 200.  
Public PropertyGets a value indicating whether this instance is disposed. (Inherited from C1.Util.DX.DisposeBase)
Public PropertyThe size of an element in the Sobel kernel used to generate the surface normal in the X and Y direction. This property maps to the dx and dy values in the Sobel gradient. This property is a C1.Util.DX.Vector2 (Kernel Unit Length X, Kernel Unit Length Y) and is defined in (device-independent pixels (DIPs)/Kernel Unit). The effect uses bilinear interpolation to scale the bitmap to match size of kernel elements.  
Public PropertyThe light position of the point light source. The property is a C1.Util.DX.Vector3 defined as (x, y, z). The units are in device-independent pixels (DIPs) and the values are unitless and unbounded.  
Public PropertyThe cone angle that restricts the region where the light is projected. No light is projected outside the cone. The limiting cone angle is the angle between the spot light axis (the axis between the LightPosition and PointsAt properties) and the spot light cone. This property is defined in degrees and must be between 0 to 90 degrees.  
Public PropertyGet a pointer to the underlying Cpp Object (Inherited from C1.Util.DX.CppObject)
Public PropertyWhere the spot light is focused. The property is exposed as a C1.Util.DX.Vector3 with – (x, y, z). The units are in DIPs and the values are unbounded.  
Public PropertyThe interpolation mode the effect uses to scale the image to the corresponding kernel unit length. There are six scale modes that range in quality and speed. If you don't select a mode, the effect uses the interpolation mode of the device context. See Scale modes for more info.  
Public PropertyThe scale factor in the Z direction. The value is unitless and must be between 0 and 10,000.  
Public PropertyGets or sets a custom user tag object to associate with this instance.. (Inherited from C1.Util.DX.CppObject)
Top
See Also