Class TriangleInterpolation
Inheritance
TriangleInterpolation
Assembly: cs.temp.dll.dll
Syntax
public static class TriangleInterpolation
Methods
Interpolate(Vector2, Vector2, Vector2)
Declaration
public static Func<Vector3, Vector2> Interpolate(Vector2 v1, Vector2 v2, Vector2 v3)
Parameters
Type |
Name |
Description |
Vector2 |
v1 |
|
Vector2 |
v2 |
|
Vector2 |
v3 |
|
Returns
Type |
Description |
Func<Vector3, Vector2> |
|
Interpolate(Vector2, Vector2, Vector2, Vector2, Vector2, Vector2)
Declaration
public static Func<Vector3, Vector2> Interpolate(Vector2 v1, Vector2 v2, Vector2 v3, Vector2 v4, Vector2 v5, Vector2 v6)
Parameters
Type |
Name |
Description |
Vector2 |
v1 |
|
Vector2 |
v2 |
|
Vector2 |
v3 |
|
Vector2 |
v4 |
|
Vector2 |
v5 |
|
Vector2 |
v6 |
|
Returns
Type |
Description |
Func<Vector3, Vector2> |
|
Interpolate(Vector3, Vector3, Vector3)
Declaration
public static Func<Vector3, Vector3> Interpolate(Vector3 v1, Vector3 v2, Vector3 v3)
Parameters
Type |
Name |
Description |
Vector3 |
v1 |
|
Vector3 |
v2 |
|
Vector3 |
v3 |
|
Returns
Type |
Description |
Func<Vector3, Vector3> |
|
Interpolate(Vector3, Vector3, Vector3, Vector3, Vector3, Vector3)
Declaration
public static Func<Vector3, Vector3> Interpolate(Vector3 v1, Vector3 v2, Vector3 v3, Vector3 v4, Vector3 v5, Vector3 v6)
Parameters
Type |
Name |
Description |
Vector3 |
v1 |
|
Vector3 |
v2 |
|
Vector3 |
v3 |
|
Vector3 |
v4 |
|
Vector3 |
v5 |
|
Vector3 |
v6 |
|
Returns
Type |
Description |
Func<Vector3, Vector3> |
|
Interpolate(Vector4, Vector4, Vector4)
Declaration
public static Func<Vector3, Vector4> Interpolate(Vector4 v1, Vector4 v2, Vector4 v3)
Parameters
Type |
Name |
Description |
Vector4 |
v1 |
|
Vector4 |
v2 |
|
Vector4 |
v3 |
|
Returns
Type |
Description |
Func<Vector3, Vector4> |
|
Interpolate(Vector4, Vector4, Vector4, Vector4, Vector4, Vector4)
Declaration
public static Func<Vector3, Vector4> Interpolate(Vector4 v1, Vector4 v2, Vector4 v3, Vector4 v4, Vector4 v5, Vector4 v6)
Parameters
Type |
Name |
Description |
Vector4 |
v1 |
|
Vector4 |
v2 |
|
Vector4 |
v3 |
|
Vector4 |
v4 |
|
Vector4 |
v5 |
|
Vector4 |
v6 |
|
Returns
Type |
Description |
Func<Vector3, Vector4> |
|
InterpolateNormal(MeshData, Int32, Int32)
Declaration
public static Func<Vector3, Vector3> InterpolateNormal(MeshData mesh, int submesh, int face)
Parameters
Returns
Type |
Description |
Func<Vector3, Vector3> |
|
InterpolatePosition(MeshData, Int32, Int32, Single, Single)
Declaration
public static Func<Vector3, Vector3> InterpolatePosition(MeshData mesh, int submesh, int face, float meshOffset1, float meshOffset2)
Parameters
Returns
Type |
Description |
Func<Vector3, Vector3> |
|
InterpolateTangent(MeshData, Int32, Int32)
Declaration
public static Func<Vector3, Vector4> InterpolateTangent(MeshData mesh, int submesh, int face)
Parameters
Returns
Type |
Description |
Func<Vector3, Vector4> |
|
InterpolateUv(MeshData, Int32, Int32)
Declaration
public static Func<Vector3, Vector2> InterpolateUv(MeshData mesh, int submesh, int face)
Parameters
Returns
Type |
Description |
Func<Vector3, Vector2> |
|