TELEPORT.Capture
Encapsulates a loaded Gaussian Splat asset instance, its spatial modifications, and its camera frames.
Constructor#
Parameters:
apiResult(Object): The parsed JSON response directly from the metadata endpoint.options(Object, optional): Configuration overrides (position,rotation,scale).manager(TELEPORT.Manager): The parent instance driving events and network orchestration.
Attributes#
firstCamera#
Returns a TELEPORT.CameraPose extracted from the capture's camera poses list that can be used to place the scene camera in a sensible starting position/rotation on first load.
Methods#
loadCameras()#
Fetches and builds all camera poses associated with the capture.
Returns: Promise<Array<TELEPORT.CameraPose>> (see TELEPORT.CameraPose)