VertexDeclaration

VertexDeclaration

Overview

VertexDeclaration is a class in Aspose.3D FOSS for Java. Inherits from: Serializable, Iterable<VertexField>.

VertexDeclaration.addField(dataType, semantic, index, alias) creates a new VertexField describing a vertex attribute layout.

This class provides 11 methods for working with VertexDeclaration objects in Java programs. Available methods include: VertexDeclaration, addField, clear, equals, get, getSize, hashCode, isSealed, iterator, size, toString. All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package. Properties: sealed, size.

Properties

NameTypeAccessDescription
sealedbooleanReadGets the sealed.
sizeintReadGets the size.

Methods

SignatureDescription
VertexDeclaration()Calls VertexDeclaration on this VertexDeclaration instance.
isSealed() → booleanReturns true if sealed is set.
size() → intCalls size on this VertexDeclaration instance.
get(index: int) → VertexFieldCalls get(index) on this VertexDeclaration instance.
getSize() → intReturns the size.
clear()Calls clear on this VertexDeclaration instance.
addField(dataType: VertexFieldDataType, semantic: VertexFieldSemantic, index: int, alias: String) → VertexFieldCreates a new VertexField describing a vertex attribute layout
iterator() → java.util.Iterator<VertexField>Calls iterator on this VertexDeclaration instance.
hashCode() → intCalls hashCode on this VertexDeclaration instance.
equals(obj: Object) → booleanCalls equals(obj) on this VertexDeclaration instance.
toString() → StringCalls toString on this VertexDeclaration instance.

See Also

 English