#include <ComposableCameraOrthographicNode.h>
Inherits:
UComposableCameraCameraNodeBase
Switches the camera pose into orthographic projection and authors the associated ortho parameters (view width and clip planes). Mirrors Epic's UOrthographicCameraNode, but uses the CCS pose-authoritative policy: values written here override whatever CineCameraComponent defaults would otherwise apply, and transitions snap the projection-mode boolean at 50% blend weight per the BlendBy() contract in FComposableCameraPose.
Public Attributes¶
| Return | Name | Description |
|---|---|---|
TEnumAsByte< ECameraProjectionMode::Type > |
ProjectionMode |
Projection mode to write onto the pose. Defaults to Orthographic since the point of this node is to author an ortho setup — authors who want a perspective camera should simply not place this node. Exposed anyway so the mode can be toggled at runtime via a wire (e.g. a blueprint action flipping between ortho and perspective views). |
float |
OrthographicWidth |
Orthographic view width in world units. |
float |
OrthoNearClipPlane |
Ortho near clip plane in world units. 0 is valid (= near clip at camera origin). |
float |
OrthoFarClipPlane |
Ortho far clip plane in world units. Must be > OrthoNearClipPlane. |
ProjectionMode¶
TEnumAsByte< ECameraProjectionMode::Type > ProjectionMode { ECameraProjectionMode::Orthographic }
Projection mode to write onto the pose. Defaults to Orthographic since the point of this node is to author an ortho setup — authors who want a perspective camera should simply not place this node. Exposed anyway so the mode can be toggled at runtime via a wire (e.g. a blueprint action flipping between ortho and perspective views).
OrthographicWidth¶
float OrthographicWidth { 512.f }
Orthographic view width in world units.
OrthoNearClipPlane¶
float OrthoNearClipPlane { 0.f }
Ortho near clip plane in world units. 0 is valid (= near clip at camera origin).
OrthoFarClipPlane¶
float OrthoFarClipPlane { 10000.f }
Ortho far clip plane in world units. Must be > OrthoNearClipPlane.
Public Methods¶
| Return | Name | Description |
|---|---|---|
void |
OnTickNode_Implementation virtual |
|
void |
GetPinDeclarations_Implementation virtual const |
OnTickNode_Implementation¶
virtual
virtual void OnTickNode_Implementation(float DeltaTime, const FComposableCameraPose & CurrentCameraPose, FComposableCameraPose & OutCameraPose)
GetPinDeclarations_Implementation¶
virtual const
virtual void GetPinDeclarations_Implementation(TArray< FComposableCameraNodePinDeclaration > & OutPins) const