TriangleMesh

class TriangleMesh(val delegate: TriangleMesh) extends Mesh with SFXDelegate[TriangleMesh]
class Mesh
trait SFXDelegate[TriangleMesh]
class Object
trait Matchable
class Any

Value members

Constructors

def this(vertexFormat: VertexFormat)

Creates a new instance of TriangleMesh class with the specified VertexFormat.

Creates a new instance of TriangleMesh class with the specified VertexFormat.

Value Params
vertexFormat

specifies the vertex format type.

Concrete methods

def faceElementSize: Int

Gets the number of array components representing a single face.

Gets the number of array components representing a single face.

Gets the ObservableIntegerArray of face smoothing groups of this TriangleMesh.

Gets the ObservableIntegerArray of face smoothing groups of this TriangleMesh.

def faceSmoothingGroups_=(a: Array[Int]): Unit

Set face smoothing groups to given array.

Set face smoothing groups to given array.

Value Params
a

Integer array to replace the contents of the face smoothing groups array.

Gets the ObservableIntegerArray of faces, indices into the points and texCoords arrays, of this TriangleMesh

Gets the ObservableIntegerArray of faces, indices into the points and texCoords arrays, of this TriangleMesh

def faces_=(a: Array[Int]): Unit

Set faces to given array.

Set faces to given array.

Value Params
a

Integer array to replace the contents of the faces array.

Gets the number of array components representing a single point.

Gets the number of array components representing a single point.

Gets the ObservableFloatArray of points of this TriangleMesh.

Gets the ObservableFloatArray of points of this TriangleMesh.

def points_=(a: Array[Float]): Unit

Set points to given array.

Set points to given array.

Value Params
a

Float array to replace the contents of the points array.

Gets the number of array components representing a single text coordinate.

Gets the number of array components representing a single text coordinate.

Gets the ObservableFloatArray of texture coordinates of this TriangleMesh.

Gets the ObservableFloatArray of texture coordinates of this TriangleMesh.

def texCoords_=(a: Array[Float]): Unit

Set texture coordinates to given array.

Set texture coordinates to given array.

Value Params
a

Float array to replace the contents of the texture coordinates array.

def vertexFormat: ObjectProperty[VertexFormat]

Specifies the vertex format of this TriangleMesh, one of VertexFormat.PointTexcoord or VertexFormat.PointNormalTexcoord.

Specifies the vertex format of this TriangleMesh, one of VertexFormat.PointTexcoord or VertexFormat.PointNormalTexcoord.

Default value VertexFormat.PointTexcoord

Inherited methods

override def equals(ref: Any): Boolean

Verifies if a object is equals to this delegate.

Verifies if a object is equals to this delegate.

Value Params
ref

Object to be compared.

Returns

if the other object is equals to this delegate or not.

Definition Classes
Inherited from
SFXDelegate
override def hashCode: Int
Returns

The delegate hashcode

Definition Classes
Inherited from
SFXDelegate
override def toString: String
Returns

Returns the original delegate's toString() adding a [SFX] prefix.

Definition Classes
Inherited from
SFXDelegate

Concrete fields

override val delegate: TriangleMesh