Interface ICamera
Represents a camera in the scene. This is a parallel class to UnityEngine.Camera. Implemented separately to abstract Ride classes away from UnityEngine specific implementations.
Inherited Members
Namespace: Ride
Assembly: cs.temp.dll.dll
Syntax
public interface ICamera : ITransform
Methods
Name | Description |
---|---|
CaptureScreenshotFromCurrentView(Int32, Int32) | Creates a texture of what the camera is currently looking at |
ConvertToCoordinates(RideVector3) | Converts the world position into normalized coordinates |
ResetCamera() | Resets camera to a default position |
ScreenPointToRay(RideVector3) | Returns a ray going from the camera through the screen point |
SetActive(Boolean) | Activate or deactivate the camera |
SetNormalizedWorldPosition(RideVector3, Boolean) | Move the camera to a position in the world based on normalized coordinates |