Interface SetMoveRotateScaleParams

Parameters for setMoveRotateScale. At least one of position, rotation, or scale must be provided.

Hierarchy

Properties

duration: number

Duration of the tween in milliseconds.

easingFunction?: EasingFunction

Easing function (defaults to EF_LINEAR).

position?: {
    end: PBVector3;
    start: PBVector3;
}

Position tween (start → end). Optional.

Type declaration

rotation?: {
    end: PBQuaternion;
    start: PBQuaternion;
}

Rotation tween (start → end). Optional.

Type declaration

scale?: {
    end: PBVector3;
    start: PBVector3;
}

Scale tween (start → end). Optional.

Type declaration