Class SurfaceTextureVisAsset
Inheritance
SurfaceTextureVisAsset
Assembly: IVLab.ABREngine.Runtime.dll
Syntax
public class SurfaceTextureVisAsset : VisAsset, ISurfaceTextureVisAsset, IVisAsset, IABRInput, ITextureGradient
Constructors
|
Improve this Doc
View Source
SurfaceTextureVisAsset()
Declaration
public SurfaceTextureVisAsset()
|
Improve this Doc
View Source
SurfaceTextureVisAsset(Guid, Texture2D, Texture2D)
Declaration
public SurfaceTextureVisAsset(Guid uuid, Texture2D texture, Texture2D normalMap)
Parameters
|
Improve this Doc
View Source
SurfaceTextureVisAsset(Texture2D, Texture2D)
Declaration
public SurfaceTextureVisAsset(Texture2D texture, Texture2D normalMap)
Parameters
Properties
|
Improve this Doc
View Source
BlendMaps
Internal calculations for blend maps used for rendering
Declaration
public GradientBlendMap BlendMaps { get; }
Property Value
|
Improve this Doc
View Source
NormalMap
Declaration
public Texture2D NormalMap { get; }
Property Value
|
Improve this Doc
View Source
Texture
Declaration
public Texture2D Texture { 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
GetTexture()
Obtain the first (or, only) texture in a multi-visasset gradient
Declaration
public Texture2D GetTexture()
Returns
|
Improve this Doc
View Source
GetTexture(int)
Obtain the texture at a specific index within a multi-visasset gradient
Declaration
public Texture2D GetTexture(int gradientIndex)
Parameters
Type |
Name |
Description |
int |
gradientIndex |
|
Returns
|
Improve this Doc
View Source
GetTexture(float)
Obtain the texture at a specific t-value (percentage) within a multi-visasset gradient
Declaration
public Texture2D GetTexture(float gradientT)
Parameters
Type |
Name |
Description |
float |
gradientT |
|
Returns
Implements