Skip to content
Select language:English

ARDK 1.5.6

@Serializable
class Label(val id: Long = 0, val message: String, val position: FloatArray = floatArrayOf(0.0f, 0.0f, 0.0f), val orientation: FloatArray = floatArrayOf(0.0f), val title: String? = null, val image: String? = null, val payload: String? = null)

Represents a label with associated information.

Parameters

id

The unique identifier of the label.

message

The message to be displayed on the label.

position

The position of the label with respect to the asset.

orientation

The orientation of the label with respect to the asset.

title

An optional title for the label.

image

An optional image associated with the label.

payload

Any additional payload associated with the label.

Constructors

constructor(id: Long = 0, message: String, position: FloatArray = floatArrayOf(0.0f, 0.0f, 0.0f), orientation: FloatArray = floatArrayOf(0.0f), title: String? = null, image: String? = null, payload: String? = null)

Properties

val id: Long

The unique identifier of the label.

An optional image associated with the label.

The message to be displayed on the label.

The orientation of the label with respect to the asset.

Any additional payload associated with the label.

The position of the label with respect to the asset.

An optional title for the label.