Triangle class
Methods
-
clone()
→ Triangle
-
-
closestPointToPoint(Vector3 p, Vector3 target)
→ Vector3
-
-
containsPoint(dynamic point)
→ bool
-
-
copy(Triangle triangle)
→ Triangle
-
-
equals(Triangle triangle)
→ bool
-
-
getArea()
→ double
-
-
getBarycoord(dynamic point, Vector3 target)
→ Vector3
-
-
getMidpoint(Vector3 target)
→ Vector3
-
-
getNormal(Vector3 target)
→ Vector3
-
-
getPlane(Plane target)
→ Plane
-
-
getUV(dynamic point, dynamic uv1, dynamic uv2, dynamic uv3, dynamic target)
→ dynamic
-
-
getValue(Object? key)
→ Vector3
-
-
intersectsBox(Box3 box)
→ dynamic
-
-
isFrontFacing(Vector3 direction)
→ bool
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
set(Vector3 a, Vector3 b, Vector3 c)
→ Triangle
-
-
setFromPointsAndIndices(dynamic points, int i0, int i1, int i2)
→ Triangle
-
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
static_containsPoint(dynamic point, Vector3 a, Vector3 b, Vector3 c)
→ bool
-
-
static_getBarycoord(dynamic point, Vector3 a, Vector3 b, Vector3 c, Vector3 target)
→ Vector3
-
-
static_getNormal(Vector3 a, Vector3 b, Vector3 c, Vector3 target)
→ Vector3
-
-
static_getUV(dynamic point, Vector3 p1, Vector3 p2, Vector3 p3, dynamic uv1, dynamic uv2, dynamic uv3, dynamic target)
→ dynamic
-
-
static_isFrontFacing(Vector3 a, Vector3 b, Vector3 c, Vector3 direction)
→ bool
-