VertexFormat

class VertexFormat(val delegate: VertexFormat) extends SFXDelegate[VertexFormat]

Defines the format of the vertices in a mesh. A vertex consists of an array of points, normals (optional), and texture coordinates.

Defines the format of the vertices in a mesh. A vertex consists of an array of points, normals (optional), and texture coordinates.

Wraps a JavaFX VertexFormat.

Companion
object
trait SFXDelegate[VertexFormat]
class Object
trait Matchable
class Any

Value members

Concrete methods

Returns the index offset in the face array of the normal component within a vertex.

Returns the index offset in the face array of the normal component within a vertex.

Returns

the offset to the normal component.

Returns the index offset in the face array of the point component within a vertex.

Returns the index offset in the face array of the point component within a vertex.

Returns

the offset to the point component.

Returns the index offset in the face array of the texture coordinates component within a vertex.

Returns the index offset in the face array of the texture coordinates component within a vertex.

Returns

the offset to the texture coordinates component.

def vertexIndexSize: Int

Returns the number of component indices that represents a vertex. For example, a PointTexcoord vertex consists of 2 indices, one for point component and the other for texture coordinates component. Hence its value will be 2.

Returns the number of component indices that represents a vertex. For example, a PointTexcoord vertex consists of 2 indices, one for point component and the other for texture coordinates component. Hence its value will be 2.

Returns

the number of component indices

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: VertexFormat