Class MeshLocalParam
Inheritance
MeshLocalParam
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
public class MeshLocalParam
Constructors
MeshLocalParam(Int32, Func<Int32, Vector3f>, Func<Int32, Vector3f>, Func<Int32, IEnumerable<Int32>>)
Declaration
public MeshLocalParam(int nMaxID, Func<int, Vector3f> nodePositionF, Func<int, Vector3f> nodeNormalF, Func<int, IEnumerable<int>> neighboursF)
Parameters
Fields
InvalidUV
Declaration
public static readonly Vector2f InvalidUV
Field Value
UVMode
Declaration
public MeshLocalParam.UVModes UVMode
Field Value
Properties
MaxGraphDistance
Get the maximum distance encountered during the Compute()
Declaration
public float MaxGraphDistance { get; }
Property Value
MaxUVDistance
Declaration
public float MaxUVDistance { get; }
Property Value
Methods
ApplyUVs(Action<Int32, Vector2f>)
Declaration
public void ApplyUVs(Action<int, Vector2f> applyF)
Parameters
ComputeToMaxDistance(Frame3f, Index3i, Single)
Compute distances that are less/equal to fMaxDistance from the seeds
Terminates early, so Queue may not be empty
Declaration
public void ComputeToMaxDistance(Frame3f seedFrame, Index3i seedNbrs, float fMaxGraphDistance)
Parameters
GetUV(Int32)
Get the computed uv at node id
Declaration
public Vector2f GetUV(int id)
Parameters
Type |
Name |
Description |
Int32 |
id |
|
Returns
Reset()
Declaration
Declaration
public void TransformUV(float fScale, Vector2f vTranslate)
Parameters