API reference
API reference
Select your platform
No SDKs available
No versions available

Vector3Attribute

Vector3Attribute

class Vector3Attribute(keyString: String, key: Int, component: ComponentBase, initialValue: Vector3) : TypedAbstractAttribute<Vector3>
An attribute that stores a Vector3 value.
XML Usage Example:
<component name="3DCoordinates">
  <Vector3Attribute name="position" defaultValue="0.0 0.0 0.0" />
</component>

Constructors

NameSummary
Vector3Attribute
constructor(keyString: String, key: Int, component: ComponentBase, initialValue: Vector3)

Properties

NameSummary
value
var value: WatchedVector3

Functions

NameSummary
checkIfComponentIsOld
fun checkIfComponentIsOld()
checkIfComponentIsRecycled
fun checkIfComponentIsRecycled()
get
open override fun get(): Any
getValue
operator fun getValue(thisRef: Any?, property: KProperty<*>): Vector3
keyName
fun keyName(): String
markDirty
fun markDirty(potentialValue: WatchedVector3)
set
open override fun set(value: Any)
setValue
operator fun setValue(thisRef: Any?, property: KProperty<*>, value: Vector3)
Did you find this page helpful?
Thumbs up icon
Thumbs down icon