class Vector2Attribute(keyString: String, key: Int, component: ComponentBase, initialValue: Vector2) : TypedAbstractAttribute<Vector2>
<component name="2DCoordinates"> <Vector2Attribute name="coords" defaultValue="0.0 0.0" /> </component>
| Name | Summary |
|---|---|
Vector2Attribute | constructor(keyString: String, key: Int, component: ComponentBase, initialValue: Vector2) |
| Name | Summary |
|---|---|
value | var value: WatchedVector2 |
| Name | Summary |
|---|---|
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) |