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

PoseAttribute Class

Modifiers: final
An attribute that stores a Pose value.
XML Usage Example:
<component name="MyTransform">
  <PoseAttribute name="worldPose" defaultValue="0.0 0.0 0.0 0.0 0.0 0.0 1.0" />
</component>

The pose format is "tx ty tz qx qy qz qw" where:
  • tx, ty, tz: Translation components (Vector3)
  • qx, qy, qz, qw: Rotation components as a Quaternion

Signature

class PoseAttribute(keyString: String, key: Int, component: ComponentBase, initialValue: Pose) : TypedAbstractAttribute<Pose> 

Constructors

PoseAttribute ( keyString , key , component , initialValue )
Signature
constructor(keyString: String, key: Int, component: ComponentBase, initialValue: Pose)
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: Pose
  The initial value for this attribute

Properties

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

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<*>): Pose
Parameters
thisRef: Any?
property: KProperty
Returns
keyName ()
Signature
fun keyName(): String
Returns
String
markDirty ( potentialValue )
Signature
fun markDirty(potentialValue: WatchedPose)
Parameters
potentialValue: WatchedPose
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: Pose)
Parameters
thisRef: Any?
property: KProperty
value: Pose
Did you find this page helpful?