<component name="2DCoordinates"> <Vector2Attribute name="coords" defaultValue="0.0 0.0" /> </component>
class Vector2Attribute(keyString: String, key: Int, component: ComponentBase, initialValue: Vector2) : TypedAbstractAttribute<Vector2>
Vector2Attribute
(
keyString
, key
, component
, initialValue
)
|
Signature
constructor(keyString: String, key: Int, component: ComponentBase, initialValue: Vector2) Parameters
keyString:
String
key:
Int
Returns |
value
: WatchedVector2
[Get][Set] |
Signature
var value: WatchedVector2 |
checkIfComponentIsOld
()
|
Signature
fun checkIfComponentIsOld() |
checkIfComponentIsRecycled
()
|
Signature
fun checkIfComponentIsRecycled() |
get
()
|
Signature
open override fun get(): Any Returns
Any
|
getValue
(
thisRef
, property
)
|
Signature
operator fun getValue(thisRef: Any?, property: KProperty<*>): Vector2 Parameters
thisRef:
Any?
property:
KProperty
Returns |
keyName
()
|
Signature
fun keyName(): String Returns
String
|
markDirty
(
potentialValue
)
|
Signature
fun markDirty(potentialValue: WatchedVector2) Parameters
potentialValue:
WatchedVector2
|
set
(
value
)
|
Signature
open override fun set(value: Any) Parameters
value:
Any
|
setValue
(
thisRef
, property
, value
)
|
Signature
operator fun setValue(thisRef: Any?, property: KProperty<*>, value: Vector2) Parameters |