Class LightExtension.Gradient
One directional gradient sample: a direction (usually axis-aligned) and its value.
public class LightExtension.Gradient : IDisposable
- Inheritance
-
LightExtension.Gradient
- Implements
- Inherited Members
Constructors
Gradient()
public Gradient()
Gradient(C3Vector, float)
public Gradient(C3Vector direction, float value)
Parameters
Gradient(Gradient)
Copy-construct: a deep copy of other (the C++ copy constructor).
public Gradient(LightExtension.Gradient other)
Parameters
otherLightExtension.Gradient
Properties
Direction
Gradient direction; usually either xy or z, remainder 0.
public C3Vector Direction { get; set; }
Property Value
Value
Gradient value.
public float Value { get; set; }
Property Value
Methods
Dispose()
Release the native object now. Optional: the finalizer releases it on
collection anyway - dispose (or using) when you want native memory back
promptly.
public virtual void Dispose()