Class EditorSceneUtility

Contains miscellaneous math helper methods.

Hierarchy

  • FrameworkObject
    • EditorSceneUtility

Constructors

Methods

  • Calculates world space bounds of the specified scene object. This will consider components with bounds like Renderable.

    Parameters

    • options: {
          isChildrenIncluded?: boolean;
          sceneObject: SceneObject;
      } | {
          isChildrenIncluded?: boolean;
          sceneObjects: readonly SceneObject[];
      }

      Options object for the function call.

    Returns AABox

  • Calculates world space center of the specified scene objects.

    Parameters

    • sceneObjects: SceneObject[]

      The scene objects to caclulate the bounds for.

    Returns Vector3