Class GlyphVisAsset
Inheritance
GlyphVisAsset
Assembly: IVLab.ABREngine.Runtime.dll
Syntax
public class GlyphVisAsset : VisAsset, IGlyphVisAsset, IVisAsset, IABRInput
Constructors
|
Improve this Doc
View Source
GlyphVisAsset()
Declaration
|
Improve this Doc
View Source
GlyphVisAsset(List<Mesh>, List<Texture2D>)
Declaration
public GlyphVisAsset(List<Mesh> meshLods, List<Texture2D> normalMapLods)
Parameters
|
Improve this Doc
View Source
GlyphVisAsset(List<Mesh>, List<Texture2D>, Texture2D)
Declaration
public GlyphVisAsset(List<Mesh> meshLods, List<Texture2D> normalMapLods, Texture2D preview)
Parameters
|
Improve this Doc
View Source
GlyphVisAsset(Guid, List<Mesh>, List<Texture2D>, Texture2D)
Declaration
public GlyphVisAsset(Guid uuid, List<Mesh> meshLods, List<Texture2D> normalMapLods, Texture2D preview)
Parameters
Properties
|
Improve this Doc
View Source
MeshLods
Declaration
public List<Mesh> MeshLods { get; }
Property Value
|
Improve this Doc
View Source
NormalMapLods
Declaration
public List<Texture2D> NormalMapLods { 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
GetMesh(int)
Get the mesh at an LOD for a single glyph visasset
Declaration
public Mesh GetMesh(int lod)
Parameters
Type |
Name |
Description |
int |
lod |
|
Returns
|
Improve this Doc
View Source
GetMesh(int, int)
Get the mesh at a particular index of the gradient
Declaration
public Mesh GetMesh(int gradientIndex, int lod)
Parameters
Type |
Name |
Description |
int |
gradientIndex |
|
int |
lod |
|
Returns
|
Improve this Doc
View Source
GetMesh(float, int)
Get the mesh at a particular percentage (t-value) through the gradient
Declaration
public Mesh GetMesh(float gradientT, int lod)
Parameters
Type |
Name |
Description |
float |
gradientT |
|
int |
lod |
|
Returns
|
Improve this Doc
View Source
GetNormalMap(int)
Get the normal map at an LOD for a single glyph visasset
Declaration
public Texture2D GetNormalMap(int lod)
Parameters
Type |
Name |
Description |
int |
lod |
|
Returns
|
Improve this Doc
View Source
GetNormalMap(int, int)
Get the normal map at a particular index of the gradient
Declaration
public Texture2D GetNormalMap(int gradientIndex, int lod)
Parameters
Type |
Name |
Description |
int |
gradientIndex |
|
int |
lod |
|
Returns
|
Improve this Doc
View Source
GetNormalMap(float, int)
Get the normal map at a particular percentage (t-value) through the gradient
Declaration
public Texture2D GetNormalMap(float gradientT, int lod)
Parameters
Type |
Name |
Description |
float |
gradientT |
|
int |
lod |
|
Returns
|
Improve this Doc
View Source
GetPreview()
Get a preview of the glyph as a Texture2D, if any
Declaration
public Texture2D GetPreview()
Returns
Implements