VertexElementUserData

VertexElementUserData class

Defines custom user data for specified components. Usually it’s application-specific data for special purpose.

Methods

constructor

NameDescription
constructor()Initializes a new instance of the VertexElementUserData class.

Result:


getData

NameDescription
getData()The user data attached in this element

Result:


setData

NameDescription
setData(value)The user data attached in this element

Result:


getVertexElementType

NameDescription
getVertexElementType()Gets the type of the VertexElementThe value of the property is VertexElementType integer constant.

Result:


getName

NameDescription
getName()Gets or sets the name. The name.

Result:


setName

NameDescription
setName(value)Gets or sets the name. The name.

Result:


getMappingMode

NameDescription
getMappingMode()Gets or sets how the element is mapped. The value of the property is MappingMode integer constant.

Result:


setMappingMode

NameDescription
setMappingMode(value)Gets or sets how the element is mapped. The value of the property is MappingMode integer constant.

Result:


getReferenceMode

NameDescription
getReferenceMode()Gets or sets how the element is referenced. The value of the property is ReferenceMode integer constant.

Result:


setReferenceMode

NameDescription
setReferenceMode(value)Gets or sets how the element is referenced. The value of the property is ReferenceMode integer constant.

Result:


getIndices

NameDescription
getIndices()Gets the indices data The index array.

Result:


clear

NameDescription
clear()Clears all the data from this vertex element.

Result:


setIndices

NameDescription
setIndices(data)Load indices

Parameters:

NameTypeDescription
datNumber[]null

Result:


toString

NameDescription
toString()String representation of vertex element.

Result: String