VertexFormat

scalafx.scene.shape.VertexFormat
See theVertexFormat companion object
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.

Wraps a $JFX $URL0 $TC]].

Attributes

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

Members list

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.

Attributes

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.

Attributes

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.

Attributes

Returns

the offset to the texture coordinates component.

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.

Attributes

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

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes