API

Variable FloatingOriginCurrentSceneConst

FloatingOriginCurrentScene: {
    eyeAtCamera: boolean;
    getScene: () => Scene | undefined;
} = ...

When rendering, each scene will reset this to ensure the correct floating origin offset is when overriding the below functions

Type Declaration

  • eyeAtCamera: boolean
  • getScene: () => Scene | undefined