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

Vector2Attribute

Vector2Attribute

class Vector2Attribute(keyString: String, key: Int, component: ComponentBase, initialValue: Vector2) : TypedAbstractAttribute<Vector2>

Constructors

NameSummary
Vector2Attribute
constructor(keyString: String, key: Int, component: ComponentBase, initialValue: Vector2)

Properties

NameSummary
value
var value: WatchedVector2

Functions

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