thingorigin2.0
    正在准备搜索索引...
    索引

    构造函数

    属性

    motionMap: Map<string, EasingFunction> = ...
    tool: Tool = ...

    方法

    • 参数

      • parent: Object3D
      • child: Object3D
      • 可选configs: prs

      返回 { position: Vector3; rotation: Euler; scale: Vector3 }

      关联模型

      LL

      2024/07/02

      TAnimate

    • 参数

      • parent: Object3D
      • child: Object3D

      返回 { position: Vector3 }

      销毁并解除关联模型

      LL

      2024/08/29

      TAnimate

    • 参数

      • model: Object3D

        模型

      • time: number

        完成时间(毫秒)

      返回 void

      模型淡入效果

      gj

      2023/10/25

    • 参数

      • model: Object3D

        模型

      • time: number

        完成时间(毫秒)

      返回 void

      模型淡出效果

      gj

      2023/10/25

    • 参数

      • model: Object3D

        模型

      • axis: string

        方向 可传入字符串 'x'/'y'/'z'

      • from: number

        从哪个位置开始

      • to: number

        到哪个位置停止

      • time: number

        完成时间(毫秒)

      返回 Tween<any>

      间补平移动画

      LL

    • 参数

      • parent: Object3D
      • child: Object3D

      返回 Object3D<Object3DEventMap>

      解除关联模型

      LL

      2024/09/20

      TAnimate

    • 参数

      • model: Object3D

        模型

      • axis: string

        方向('x'/'y'/'z')

      • from: number

        起始角度

      • to: number

        目标角度

      • time: number

        动画时间(毫秒)

      • mode: string = "linear"

        运动模式 linear:匀速 bounceOut:弹开

      返回 Tween<any>

      间补旋转动画(旋转角度)

      LL

      26/04/2022

    • 参数

      • model: Object3D

        模型

      • axis: string

        方向 可传入字符串 'x'/'y'/'z'

      • from: number

        从哪个弧度开始

      • to: number

        到哪个弧度停止

      • time: number

        完成时间(毫秒)

      返回 Tween<any>

      间补旋转动画(旋转数)

      LL