Class ColormapVisAsset
Inheritance
ColormapVisAsset
Assembly: IVLab.ABREngine.Runtime.dll
Syntax
public class ColormapVisAsset : VisAsset, IColormapVisAsset, IVisAsset, IABRInput
Constructors
|
Improve this Doc
View Source
ColormapVisAsset()
Declaration
public ColormapVisAsset()
|
Improve this Doc
View Source
ColormapVisAsset(Colormap)
Declaration
public ColormapVisAsset(Colormap colormap)
Parameters
Type |
Name |
Description |
Colormap |
colormap |
|
|
Improve this Doc
View Source
ColormapVisAsset(Guid, Colormap)
Declaration
public ColormapVisAsset(Guid uuid, Colormap colormap)
Parameters
Type |
Name |
Description |
Guid |
uuid |
|
Colormap |
colormap |
|
|
Improve this Doc
View Source
ColormapVisAsset(Guid, Texture2D)
Declaration
[Obsolete("Constructing a ColormapVisAsset from Texture2D is no longer recommended; instead use an IVLab.Utilities.Colormap like `new ColormapVisAsset(..., Colormap)`.")]
public ColormapVisAsset(Guid uuid, Texture2D colormap)
Parameters
|
Improve this Doc
View Source
ColormapVisAsset(Texture2D)
Declaration
[Obsolete("Constructing a ColormapVisAsset from Texture2D is no longer recommended; instead use an IVLab.Utilities.Colormap like `new ColormapVisAsset(..., Colormap)`.")]
public ColormapVisAsset(Texture2D colormap)
Parameters
Properties
|
Improve this Doc
View Source
Colormap
Declaration
public Colormap Colormap { get; }
Property Value
Type |
Description |
Colormap |
|
|
Improve this Doc
View Source
ColormapTexture
Declaration
public Texture2D ColormapTexture { get; }
Property Value
|
Improve this Doc
View Source
VisAssetCount
How many VisAssets are in the gradient? (1 if it's not a gradient)
Declaration
public int VisAssetCount { get; }
Property Value
Methods
|
Improve this Doc
View Source
GetColorGradient()
Declaration
public Texture2D GetColorGradient()
Returns
|
Improve this Doc
View Source
GetColorInterp(float)
Declaration
public Color GetColorInterp(float interpAmount)
Parameters
Type |
Name |
Description |
float |
interpAmount |
|
Returns
|
Improve this Doc
View Source
SolidColor(Color)
Declaration
public static ColormapVisAsset SolidColor(Color fillColor)
Parameters
Type |
Name |
Description |
Color |
fillColor |
|
Returns
Implements