Element

@Serializable
data class Element(val location: Location, _models: MutableList<Model> = mutableListOf())

Element represents a mesh element that is defined as an addressable entity within a mesh node.

Constructors

Link copied to clipboard
constructor(location: Location, _models: MutableList<Model> = mutableListOf())

Creates an Element object.

Properties

Link copied to clipboard
var index: Int

The index property contains an integer from 0 to 255 that represents the numeric order of the element within this node and a node has at-least one element which is called the primary element.

Link copied to clipboard
Link copied to clipboard

Describes the element location.

Link copied to clipboard

List of Model within an element.

Link copied to clipboard
var name: String?

A human-readable name that can identify an element within the node and is optional according to Mesh CDB.

Link copied to clipboard

Address of the element.