Interface MoveEventEntityParameter

移動事件參數。

interface MoveEventEntityParameter {
    angularVelocity?: number;
    considerModel?: boolean;
    defaultFunction?: ((entity, position) => void);
    entity?: CustomEntity | CustomGLTFEntity;
    standDetectFrustumHeight?: number;
    standDetectRange?: number;
    steps?: MoveEventEntityStep[];
    up?: null | GeoPoint | Geo3DPoint;
}

Hierarchy

Properties

angularVelocity?: number

角速度 (deg/s)。

Default Value

180
considerModel?: boolean

是否考慮三維模型。

Default Value

false
defaultFunction?: ((entity, position) => void)

Type declaration

自畫圖素。

standDetectFrustumHeight?: number

站立採樣攝影機高度 (相對當前移動位置),單位公尺

Default Value

1
standDetectRange?: number

站立偵測範圍,單位公尺

Default Value

0.1

階段。

up?: null | GeoPoint | Geo3DPoint

glTF圖素上方向量,null為自動調整。

Default Value

null

Generated using TypeDoc