Property | Type | Description | |
---|---|---|---|
onPostRender | CameraCallback | ||
onPreCull | CameraCallback | ||
onPreRender | CameraCallback |
Method | Description | |
---|---|---|
CalculateFrustumCorners ( |
||
CalculateObliqueMatrix ( Vector4 clipPlane ) : |
Calculates and returns oblique near-plane projection matrix.
|
|
GetStereoProjectionMatrix ( StereoscopicEye eye ) : |
||
GetStereoViewMatrix ( StereoscopicEye eye ) : |
||
RenderToCubemap ( |
Render into a static cubemap from this camera.
|
|
RenderToCubemap ( |
Render into a cubemap from this camera.
|
|
ResetAspect ( ) : void |
Revert the aspect ratio to the screen's aspect ratio.
|
|
ResetCullingMatrix ( ) : void |
Make culling queries reflect the camera's built in parameters.
|
|
ResetFieldOfView ( ) : void |
Reset to the default field of view.
|
|
ResetProjectionMatrix ( ) : void |
Make the projection reflect normal camera's parameters.
|
|
ResetReplacementShader ( ) : void |
Remove shader replacement from camera.
|
|
ResetWorldToCameraMatrix ( ) : void |
Make the rendering position reflect the camera's position in the scene.
|
|
ScreenPointToRay ( Vector3 position ) : |
Returns a ray going from camera through a screen point.
|
|
ScreenToViewportPoint ( Vector3 position ) : Vector3 |
Transforms position from screen space into viewport space.
|
|
ScreenToWorldPoint ( Vector3 position ) : Vector3 |
Transforms position from screen space into world space.
|
|
SetStereoProjectionMatrix ( StereoscopicEye eye, |
||
SetStereoViewMatrix ( StereoscopicEye eye, |
||
SetTargetBuffers ( |
Sets the Camera to render to the chosen buffers of one or more RenderTextures.
|
|
ViewportPointToRay ( Vector3 position ) : |
Returns a ray going from camera through a viewport point.
|
|
ViewportToScreenPoint ( Vector3 position ) : Vector3 |
Transforms position from viewport space into screen space.
|
|
ViewportToWorldPoint ( Vector3 position ) : Vector3 |
Transforms position from viewport space into world space.
|
|
WorldToScreenPoint ( Vector3 position ) : Vector3 |
Transforms position from world space into screen space.
|
|
WorldToViewportPoint ( Vector3 position ) : Vector3 |
Transforms position from world space into viewport space.
|
Method | Description | |
---|---|---|
AddCommandBuffer ( CameraEvent evt, |
||
CalculateFrustumCornersInternal ( |
||
CopyFrom ( |
||
DoClear ( ) : void | ||
FireOnPostRender ( |
||
FireOnPreCull ( |
||
FireOnPreRender ( |
||
GetAllCameras ( |
||
GetCommandBuffers ( CameraEvent evt ) : UnityEngine.Rendering.CommandBuffer[] | ||
GetHDRWarnings ( ) : string[] | ||
GetScreenHeight ( ) : float | ||
GetScreenWidth ( ) : float | ||
GetStereoProjectionMatrices ( ) : UnityEngine.Matrix4x4[] | ||
GetStereoViewMatrices ( ) : UnityEngine.Matrix4x4[] | ||
INTERNAL_CALL_CalculateFrustumCornersInternal ( |
||
INTERNAL_CALL_CalculateObliqueMatrix ( |
||
INTERNAL_CALL_GetStereoProjectionMatrix ( |
||
INTERNAL_CALL_GetStereoViewMatrix ( |
||
INTERNAL_CALL_RaycastTry ( |
||
INTERNAL_CALL_RaycastTry2D ( |
||
INTERNAL_CALL_ResetAspect ( |
||
INTERNAL_CALL_ResetCullingMatrix ( |
||
INTERNAL_CALL_ResetFieldOfView ( |
||
INTERNAL_CALL_ResetProjectionMatrix ( |
||
INTERNAL_CALL_ResetReplacementShader ( |
||
INTERNAL_CALL_ResetWorldToCameraMatrix ( |
||
INTERNAL_CALL_ScreenPointToRay ( |
||
INTERNAL_CALL_ScreenToViewportPoint ( |
||
INTERNAL_CALL_ScreenToWorldPoint ( |
||
INTERNAL_CALL_SetStereoProjectionMatrices ( |
||
INTERNAL_CALL_SetStereoProjectionMatrix ( |
||
INTERNAL_CALL_SetStereoViewMatrices ( |
||
INTERNAL_CALL_SetStereoViewMatrix ( |
||
INTERNAL_CALL_ViewportPointToRay ( |
||
INTERNAL_CALL_ViewportToScreenPoint ( |
||
INTERNAL_CALL_ViewportToWorldPoint ( |
||
INTERNAL_CALL_WorldToScreenPoint ( |
||
INTERNAL_CALL_WorldToViewportPoint ( |
||
INTERNAL_get_backgroundColor ( Color &value ) : void | ||
INTERNAL_get_cameraToWorldMatrix ( |
||
INTERNAL_get_cullingMatrix ( |
||
INTERNAL_get_nonJitteredProjectionMatrix ( |
||
INTERNAL_get_pixelRect ( |
||
INTERNAL_get_projectionMatrix ( |
||
INTERNAL_get_rect ( |
||
INTERNAL_get_velocity ( Vector3 &value ) : void | ||
INTERNAL_get_worldToCameraMatrix ( |
||
INTERNAL_set_backgroundColor ( Color &value ) : void | ||
INTERNAL_set_cullingMatrix ( |
||
INTERNAL_set_nonJitteredProjectionMatrix ( |
||
INTERNAL_set_pixelRect ( |
||
INTERNAL_set_projectionMatrix ( |
||
INTERNAL_set_rect ( |
||
INTERNAL_set_worldToCameraMatrix ( |
||
Internal_RenderToCubemapRT ( |
||
Internal_RenderToCubemapTexture ( |
||
IsFiltered ( |
||
OnlyUsedForTesting1 ( ) : void | ||
OnlyUsedForTesting2 ( ) : void | ||
RaycastTry ( |
||
RaycastTry ( |
||
RaycastTry2D ( |
||
RemoveAllCommandBuffers ( ) : void | ||
RemoveCommandBuffer ( CameraEvent evt, |
||
RemoveCommandBuffers ( CameraEvent evt ) : void | ||
Render ( ) : void | ||
RenderDontRestore ( ) : void | ||
RenderToCubemap ( |
||
RenderToCubemap ( |
||
RenderWithShader ( |
||
ResetStereoProjectionMatrices ( ) : void | ||
ResetStereoViewMatrices ( ) : void | ||
SetReplacementShader ( |
||
SetStereoProjectionMatrices ( |
||
SetStereoViewMatrices ( |
||
SetTargetBuffersImpl ( |
||
SetTargetBuffersMRTImpl ( |
||
SetupCurrent ( |
public CalculateFrustumCorners ( |
||
viewport | ||
z | float | |
eye | MonoOrStereoscopicEye | |
outCorners | Vector3 | |
return | void |
public CalculateObliqueMatrix ( Vector4 clipPlane ) : |
||
clipPlane | Vector4 | Vector4 that describes a clip plane. |
return |
public GetStereoProjectionMatrix ( StereoscopicEye eye ) : |
||
eye | StereoscopicEye | |
return |
public GetStereoViewMatrix ( StereoscopicEye eye ) : |
||
eye | StereoscopicEye | |
return |
public RenderToCubemap ( |
||
cubemap | The cube map to render to. | |
faceMask | [ | A bitmask which determines which of the six faces are rendered to. |
return | bool |
public RenderToCubemap ( |
||
cubemap | The texture to render to. | |
faceMask | [ | A bitfield indicating which cubemap faces should be rendered into. |
return | bool |
public ScreenPointToRay ( Vector3 position ) : |
||
position | Vector3 | |
return |
public ScreenToViewportPoint ( Vector3 position ) : Vector3 | ||
position | Vector3 | |
return | Vector3 |
public ScreenToWorldPoint ( Vector3 position ) : Vector3 | ||
position | Vector3 | |
return | Vector3 |
public SetStereoProjectionMatrix ( StereoscopicEye eye, |
||
eye | StereoscopicEye | |
matrix | ||
return | void |
public SetStereoViewMatrix ( StereoscopicEye eye, |
||
eye | StereoscopicEye | |
matrix | ||
return | void |
public SetTargetBuffers ( |
||
colorBuffer | The RenderBuffer(s) to which color information will be rendered. | |
depthBuffer | The RenderBuffer to which depth information will be rendered. | |
return | void |
public ViewportPointToRay ( Vector3 position ) : |
||
position | Vector3 | |
return |
public ViewportToScreenPoint ( Vector3 position ) : Vector3 | ||
position | Vector3 | |
return | Vector3 |
public ViewportToWorldPoint ( Vector3 position ) : Vector3 | ||
position | Vector3 | The 3d vector in Viewport space. |
return | Vector3 |
public WorldToScreenPoint ( Vector3 position ) : Vector3 | ||
position | Vector3 | |
return | Vector3 |
public WorldToViewportPoint ( Vector3 position ) : Vector3 | ||
position | Vector3 | |
return | Vector3 |
public static CameraCallback onPostRender | ||
return | CameraCallback |