VertexElementIntsTemplate

VertexElementIntsTemplate

Overview

VertexElementIntsTemplate is a class in Aspose.3D FOSS for TypeScript. Inherits from: VertexElement.

VertexElementIntsTemplate.setData replaces the element’s integer data array with the provided values.

This class declares 5 methods for VertexElementIntsTemplate objects in TypeScript programs. Available methods include: clear, constructor, copyTo, setData, setIndices. Public members are accessible to any TypeScript application after installing the Aspose.3D FOSS for TypeScript package. Properties: data, indices, mappingMode, name, referenceMode, vertexElementType.

Properties

NameTypeAccessDescription
datanumber[]ReadGets the data.
indicesnumber[]ReadGets the indices.
vertexElementTypeVertexElementTypeReadGets the vertex element type.
namestringRead/WriteGets the name.
mappingModeMappingModeRead/WriteGets the mapping mode.
referenceModeReferenceModeRead/WriteGets the reference mode.

Methods

SignatureDescription
constructor(elementType: VertexElementType, name: string, mappingMode: MappingMode | null, referenceMode: ReferenceMode | null)Calls constructor(elementType, name, mappingMode, referenceMode) on this VertexElementIntsTemplate instance.
setData(data: number[])Sets the data value.
setIndices(data: number[])Sets the indices value.
clear()Removes all stored data and indices, resetting the element
copyTo(target: VertexElementIntsTemplate)Calls copyTo(target) on this VertexElementIntsTemplate instance.

See Also

 English