Contains options associated with easing between positions
and/or rotations.
Example: cameraEasing.ts
import { CameraSetLocationOptions, EaseOptions, EasingType, Player, Vector3, system } from"@minecraft/server";
// Run `/scriptevent example:cameraeasing` in chat to preview eased camera movement. system.afterEvents.scriptEventReceive.subscribe(({ id, sourceEntity }) => { if (id !== "example:cameraeasing" || !(sourceEntityinstanceofPlayer)) return;
Contains options associated with easing between positions and/or rotations.
Example: cameraEasing.ts