API reference
API reference
Select your platform
No SDKs available
No versions available

Vector3Attribute Class

Modifiers: final
An attribute that stores a Vector3 value.
XML Usage Example:
<component name="3DCoordinates">
  <Vector3Attribute name="position" defaultValue="0.0 0.0 0.0" />
</component>

Signature

class Vector3Attribute(keyString: String, key: Int, component: ComponentBase, initialValue: Vector3) : TypedAbstractAttribute<Vector3> 

Constructors

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
component: ComponentBase
  The component this attribute belongs to
initialValue: Vector3
  The initial value for this attribute

Properties

value : WatchedVector3
[Get][Set]
Signature
var value: WatchedVector3

Functions

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: KProperty
Returns
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
thisRef: Any?
property: KProperty
value: Vector3
Did you find this page helpful?