Interface IVisAssetGradient<T>
A gradient consisting of VisAssets of any type. NOTE: Texture-based gradients (Surface/Line textures and colormaps) must have 4 or fewer elements.
Namespace: IVLab.ABREngine
Assembly: IVLab.ABREngine.Runtime.dll
Syntax
public interface IVisAssetGradient<T> : IVisAsset, IABRInput where T : IVisAsset
Type Parameters
Name | Description |
---|---|
T |
Properties
| Improve this Doc View SourceStops
List of gradient stops (length of VisAssets - 1)
Declaration
List<float> Stops { get; }
Property Value
Type | Description |
---|---|
List<float> |
VisAssets
List of all VisAssets inside this gradient
Declaration
List<T> VisAssets { get; }
Property Value
Type | Description |
---|---|
List<T> |
Methods
| Improve this Doc View SourceInitialize(Guid, List<T>, List<float>)
Initialize this gradient with a UUID, some VisAssets, and some Stops. This is used instead of a constructor because it is much more flexible.
Declaration
void Initialize(Guid uuid, List<T> visAssets, List<float> stops)
Parameters
Type | Name | Description |
---|---|---|
Guid | uuid | |
List<T> | visAssets | |
List<float> | stops |