LightSettings Class
Name | Description | |
---|---|---|
LightSettings() | Empty constructor. | |
LightSettings(Vector3D, Color) | Direction and color constructor. | |
LightSettings(Vector3D, Color, Color) | Direction, color and specular color constructor. | |
LightSettings(Vector3D, Color, Color, bool, bool, bool) | Standard constructor. | |
LightSettings(Vector3D, Color, Color, bool, bool, bool, lightType, Point3D, double, double, double, double, double) | Standard constructor. |
Name | Description | |
---|---|---|
Active | Gets or sets the light status. | |
Color | Gets or sets the light color. | |
ConstantAttenuation | Gets or sets the constant attenuation (point and spot lights only). | |
Direction | Gets or sets the light direction. | |
LinearAttenuation | Gets or sets the linear attenuation (point and spot lights only). | |
Position | Gets or sets the position of the spot or point light. | |
QuadraticAttenuation | Gets or sets the quadratic attenuation (point and spot lights only). | |
Specular | Gets or sets the light specular color. | |
SpotExponent | Gets or sets the exponent that determines how the light is focused inside the spot light cone (range [0, 128]). | |
SpotHalfAngle | Gets or sets the half angle of the spot light cone in radians (range [0, PI/2]). | |
Stationary | Gets or sets the light behavior. Set false to mimic the Sun. | |
Type | Gets or sets the light type. | |
YieldShadow | When true the light yields realistic shadows (Only one shadow is supported). |
Name | Description | |
---|---|---|
Equals(Object) | Determines whether the specified object is equal to the current object. (inherited from Object). | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object). | |
GetHashCode | Serves as the default hash function. (inherited from Object). | |
GetLightDirection(double[], out float[], out float[]) | Gets the light direction. | |
GetType | Gets the Type of the current instance. (inherited from Object). | |
MemberwiseClone | Creates a shallow copy of the current Object. (inherited from Object). | |
ShouldSerialize(LightSettings) | ||
ToString | Returns a string that represents the current object. (inherited from Object). |
devDept.Graphics.LightSettings