viewport.controller
3 functions / 5 types
Index
| Function | Description |
|---|---|
| ActivateDefault | Acquire default navigation of the selected camera, preserving its current pose. |
| Get | Inspect the selected camera’s controller. An uncontrolled camera returns no controller. |
| Release | Release the selected camera without activating another controller. |
| Type | Description |
|---|---|
| ActivateDefault | Acquire default navigation of the selected camera, preserving its current pose. |
| ControllerInfo | The active controller and an acquisition identity suitable for a conditional release. |
| GetController | Inspect the selected camera’s controller. An uncontrolled camera returns no controller. |
| GetControllerResponse | |
| Release | Release the selected camera without activating another controller. |
ActivateDefault
RPC
ActivateDefault(request: viewport.controller.ActivateDefault) -> viewport.controller.ControllerInfoAcquire default navigation of the selected camera, preserving its current pose.
Service method: spatialengine.v1.viewport.controller.ViewportController.ActivateDefault.
Returns viewport.controller.ControllerInfo.
viewport optional : string
Select exactly one camera by viewport label. Absent, exactly one camera must exist.
Get
RPC
Get(request: viewport.controller.GetController) -> viewport.controller.GetControllerResponseInspect the selected camera’s controller. An uncontrolled camera returns no controller.
Service method: spatialengine.v1.viewport.controller.ViewportController.Get.
Returns viewport.controller.GetControllerResponse.
viewport optional : string
Select exactly one camera by viewport label. Absent, exactly one camera must exist.
Release
RPC
Release(request: viewport.controller.Release) -> google.protobuf.EmptyRelease the selected camera without activating another controller.
Service method: spatialengine.v1.viewport.controller.ViewportController.Release.
Returns google.protobuf.Empty.
viewport optional : string
Select exactly one camera by viewport label. Absent, exactly one camera must exist.
ownership optional : string
When supplied, release only this acquisition. A stale acquisition fails.
ActivateDefault
Message
Acquire default navigation of the selected camera, preserving its current pose.
viewport optional : string
Select exactly one camera by viewport label. Absent, exactly one camera must exist.
ControllerInfo
Message
The active controller and an acquisition identity suitable for a conditional release.
kind : string
The registered controller name, such as editor or geo.
ownership : string
Identifies this acquisition. It changes when another controller takes control.
GetController
Message
Inspect the selected camera’s controller. An uncontrolled camera returns no controller.
viewport optional : string
Select exactly one camera by viewport label. Absent, exactly one camera must exist.
GetControllerResponse
Message
value optional : viewport.controller.ControllerInfo
Release
Message
Release the selected camera without activating another controller.
viewport optional : string
Select exactly one camera by viewport label. Absent, exactly one camera must exist.
ownership optional : string
When supplied, release only this acquisition. A stale acquisition fails.