<component name="Velocity"> <Vector4Attribute name="velocity" defaultValue="0.0 0.0 0.0 1.0" /> </component>
class Vector4Attribute(keyString: String, key: Int, component: ComponentBase, initialValue: Vector4) : TypedAbstractAttribute<Vector4>
Vector4Attribute
(
keyString
, key
, component
, initialValue
)
|
Signature
constructor(keyString: String, key: Int, component: ComponentBase, initialValue: Vector4) Parameters
keyString:
String
key:
Int
Returns |
value
: WatchedVector4
[Get][Set] |
Signature
var value: WatchedVector4 |
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<*>): Vector4 Parameters
thisRef:
Any?
property:
KProperty
Returns |
keyName
()
|
Signature
fun keyName(): String Returns
String
|
markDirty
(
potentialValue
)
|
Signature
fun markDirty(potentialValue: WatchedVector4) Parameters
potentialValue:
WatchedVector4
|
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: Vector4) Parameters |