<component name="3DCoordinates"> <Vector3Attribute name="position" defaultValue="0.0 0.0 0.0" /> </component>
class Vector3Attribute(keyString: String, key: Int, component: ComponentBase, initialValue: Vector3) : TypedAbstractAttribute<Vector3>
Vector3Attribute
(
keyString
, key
, component
, initialValue
)
|
Signature
constructor(keyString: String, key: Int, component: ComponentBase, initialValue: Vector3) Parameters keyString: String
The string key for this attribute
key: Int
The integer key for this attribute
Returns Vector3Attribute |
value
: WatchedVector3
[Get][Set] |
Signature
var value: WatchedVector3 |
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<*>): Vector3 Parameters thisRef: Any?property: KPropertyReturns Vector3 |
keyName
()
|
Signature
fun keyName(): String Returns String |
markDirty
(
potentialValue
)
|
Signature
fun markDirty(potentialValue: WatchedVector3) Parameters potentialValue: WatchedVector3 |
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: Vector3) Parameters |