Sandbox.Engine.Utils
MySpectatorCameraController
Assembly: Sandbox.Game.dll
public class MySpectatorCameraController: MySpectator, IMyCameraController
Fields
| Member | Description |
|---|---|
| static DEFAULT_SPECTATOR_ANGULAR_SPEED | Inherited from MySpectator |
| static DEFAULT_SPECTATOR_LINEAR_SPEED | Inherited from MySpectator |
| static MAX_SPECTATOR_ANGULAR_SPEED | Inherited from MySpectator |
| static MAX_SPECTATOR_LINEAR_SPEED | Inherited from MySpectator |
| static MIN_SPECTATOR_ANGULAR_SPEED | Inherited from MySpectator |
| static MIN_SPECTATOR_LINEAR_SPEED | Inherited from MySpectator |
| static Static | Inherited from MySpectator |
| ThirdPersonCameraDelta | Inherited from MySpectator |
Events
| Member | Description |
|---|---|
| OnModeChanged | Inherited from MySpectator |
Properties
| Member | Description |
|---|---|
| AllowCubeBuilding | Gets if player block building enabled Inherited from IMyCameraController |
| EnableFirstPersonView | Gets or set if player can use first person view Inherited from IMyCameraController |
| Entity | Gets Entity to which it is attached Inherited from IMyCameraController |
| ForceFirstPersonCamera | Gets or sets if player can use only first person view Inherited from IMyCameraController |
| ForceFirstPersonCamera | Inherited from MySpectator |
| Initialized | Inherited from MySpectator |
| IsInFirstPersonView | Gets or sets if the current camera view is first person. Inherited from IMyCameraController |
| IsInFirstPersonView | Inherited from MySpectator |
| Orientation | Inherited from MySpectator |
| Position | Inherited from MySpectator |
| SpectatorCameraMovement | Inherited from MySpectator |
| SpeedModeAngular | Inherited from MySpectator |
| SpeedModeLinear | Inherited from MySpectator |
| Target | Inherited from MySpectator |
Constructors
| Member | Description |
|---|---|
| MySpectator() | Inherited from MySpectator |
Methods
| Member | Description |
|---|---|
| ControlCamera(MyCamera) | Change camera properties now. Communication: from controller to camera. Inherited from IMyCameraController |
| GetOverridingFocusMatrix() | Transformation that should be used for target selection while focusing Inherited from IMyCameraController |
| GetViewMatrix() | Inherited from MySpectator |
| HandlePickUp() | Does nothing. Inherited from IMyCameraController |
| HandleUse() | Used to send "use" commands to camera controller Inherited from IMyCameraController |
| MoveAndRotate(Vector3, Vector2, float) | Inherited from MySpectator |
| MoveAndRotateStopped() | Inherited from MySpectator |
| OnAssumeControl(IMyCameraController) | Called when it is setted as new main camera controller Inherited from IMyCameraController |
| OnReleaseControl(IMyCameraController) | Called when new camera controller setted, and this was main camera controller Inherited from IMyCameraController |
| Reset() | Inherited from MySpectator |
| Rotate(Vector2, float) | Rotate camera controller. Inherited from IMyCameraController |
| Rotate(Vector2, float) | Inherited from MySpectator |
| RotateStopped() | Rotation of camera controller stopped. Inherited from IMyCameraController |
| RotateStopped() | Inherited from MySpectator |
| SetTarget(Vector3D, Vector3D?) | Inherited from MySpectator |
| SetViewMatrix(MatrixD) | Inherited from MySpectator |
| Update() | Inherited from MySpectator |
| UpdateCameraPosition(Vector2) | Inherited from MySpectator |
| UpdateOrientation() | Inherited from MySpectator |
Inheritance: MySpectator
Implements: