<component name="Material"> <Color4Attribute name="color" defaultValue="1.0 1.0 1.0 1.0" /> </component>
class Color4Attribute(keyString: String, key: Int, component: ComponentBase, initialValue: Color4) : TypedAbstractAttribute<Color4>
Color4Attribute
(
keyString
,
key
,
component
,
initialValue
)
:
Color4Attribute |
Signature
constructor(keyString: String, key: Int, component: ComponentBase, initialValue: Color4) Parameters
keyString:
String
key:
Int
component:
ComponentBase
initialValue:
Color4 Returns |
value
:
WatchedColor4
[Get][Set] |
Signature
var value: WatchedColor4 |
checkIfComponentIsOld
()
|
Signature
fun checkIfComponentIsOld() |
checkIfComponentIsRecycled
()
|
Signature
fun checkIfComponentIsRecycled() |
get
()
:
Any
|
Signature
open override fun get(): Any Returns
Any
|
getValue
(
thisRef
,
property
)
:
Color4 |
Signature
operator fun getValue(thisRef: Any?, property: KProperty<*>): Color4 Parameters
thisRef:
Any?
property:
KProperty
Returns |
keyName
()
:
String
|
Signature
fun keyName(): String Returns
String
|
markDirty
(
potentialValue
)
|
Signature
fun markDirty(potentialValue: WatchedColor4) Parameters
potentialValue:
WatchedColor4
|
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: Color4) Parameters |