S3M模型实例对象。
Name | Type | Description | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
context |
Context | context对象。 | ||||||||||||||||||
index |
Number | 该实例所在组的索引位置。 | ||||||||||||||||||
ownerGroup |
Object | 该实例所在组。 | ||||||||||||||||||
options |
Object |
对象具有以下属性:
|
Members
-
readonlycolor : Color
-
获取该实例的颜色。
-
获取该实例的描述信息。
-
readonlyhpr : HeadingPitchRoll
-
获取该实例的旋转系数。
-
获取该实例的选中状态。
-
readonlyposition : Cartesian3
-
获取该实例位置。
-
readonlyscale : Cartesian3
-
获取该实例的缩放系数。
Methods
-
设置该实例为选中状态并高亮实例。
Name Type Description offset
Number 该实例所在组的索引位置。 -
取消该实例的选中状态。
Name Type Description offset
Number 该实例所在组的索引位置。 -
更新实例颜色。
Name Type Description color
Color 颜色值。 offset
Number 该实例所在组的索引位置。 -
更新实例位置。
Name Type Description position
Cartesian3 世界位置。 offset
Number 该实例所在组的索引。 -
更新实例旋转参数。
Name Type Description hpr
HeadingPitchRoll 旋转参数。 offset
Number 该实例所在组的索引位置。 -
更新实例缩放系数。
Name Type Description scale
Cartesian3 缩放参数。 offset
Number 该实例所在组的索引位置。