TriangleMesh

scalafx.scene.shape.TriangleMesh
See theTriangleMesh companion object
class TriangleMesh(val delegate: TriangleMesh) extends Mesh, SFXDelegate[TriangleMesh]

Attributes

Companion
object
Graph
Supertypes
class Mesh
trait SFXDelegate[TriangleMesh]
class Object
trait Matchable
class Any

Members list

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 parameters

vertexFormat

specifies the vertex format type.

Attributes

Concrete methods

Gets the number of array components representing a single face.

Gets the number of array components representing a single face.

Attributes

Gets the ObservableIntegerArray of face smoothing groups of this TriangleMesh.

Gets the ObservableIntegerArray of face smoothing groups of this TriangleMesh.

Attributes

Set face smoothing groups to given array.

Set face smoothing groups to given array.

Value parameters

a

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

Attributes

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

Attributes

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

Set faces to given array.

Set faces to given array.

Value parameters

a

Integer array to replace the contents of the faces array.

Attributes

Gets the number of array components representing a single point.

Gets the number of array components representing a single point.

Attributes

Gets the ObservableFloatArray of points of this TriangleMesh.

Gets the ObservableFloatArray of points of this TriangleMesh.

Attributes

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

Set points to given array.

Set points to given array.

Value parameters

a

Float array to replace the contents of the points array.

Attributes

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

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

Attributes

Gets the ObservableFloatArray of texture coordinates of this TriangleMesh.

Gets the ObservableFloatArray of texture coordinates of this TriangleMesh.

Attributes

Set texture coordinates to given array.

Set texture coordinates to given array.

Value parameters

a

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

Attributes

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

Attributes

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 parameters

ref

Object to be compared.

Attributes

Returns

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

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def hashCode: Int

Attributes

Returns

The delegate hashcode

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def toString: String

Attributes

Returns

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

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate

Concrete fields

override val delegate: TriangleMesh

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes