Appearance
KBE3D / KBCore / Cesium / NodeTransformationProperty
类: NodeTransformationProperty
A Property that produces TranslationRotationScale data.
参数
Object with the following properties:
参数
A Cartesian3 Property specifying the (x, y, z) translation to apply to the node.
参数
A Quaternion Property specifying the (x, y, z, w) rotation to apply to the node.
参数
A Cartesian3 Property specifying the (x, y, z) scaling to apply to the node.
属性
isConstant
readonlyisConstant:boolean
Gets a value indicating if this property is constant. A property is considered constant if getValue always returns the same result for the current definition.
definitionChanged
readonlydefinitionChanged:Event
Gets the event that is raised whenever the definition of this property changes. The definition is considered to have changed if a call to getValue would return a different result for the same time.
translation
translation:
Property|undefined
Gets or sets the Cartesian3 Property specifying the (x, y, z) translation to apply to the node.
rotation
rotation:
Property|undefined
Gets or sets the Quaternion Property specifying the (x, y, z, w) rotation to apply to the node.
scale
scale:
Property|undefined
Gets or sets the Cartesian3 Property specifying the (x, y, z) scaling to apply to the node.
方法
getValue()
getValue(
time?:JulianDate,result?:TranslationRotationScale):TranslationRotationScale
Gets the value of the property at the provided time.
参数
time?
The time for which to retrieve the value. If omitted, the current system time is used.
result?
The object to store the value into, if omitted, a new instance is created and returned.
返回
The modified result parameter or a new instance if the result parameter was not supplied.
equals()
equals(
other?:Property):boolean
Compares this property to the provided property and returns <code>true</code> if they are equal, <code>false</code> otherwise.
参数
other?
The other property.
返回
boolean
true if left and right are equal, false otherwise.
构造函数
构造函数
new NodeTransformationProperty(
options?: {translation?:Property|Cartesian3;rotation?:Property|Quaternion;scale?:Property|Cartesian3; }):NodeTransformationProperty
参数
options?
translation?
rotation?
scale?
返回
NodeTransformationProperty
