Navigation
API > API/Plugins > API/Plugins/DisplayCluster > API/Plugins/DisplayCluster/Components
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- USceneComponent
- UDisplayClusterCameraComponent
- UDisplayClusterInFrustumFitCameraComponent
References
| Module | DisplayCluster |
| Header | /Engine/Plugins/Runtime/nDisplay/Source/DisplayCluster/Public/Components/DisplayClusterCameraComponent.h |
| Include | #include "Components/DisplayClusterCameraComponent.h" |
Syntax
UCLASS (ClassGroup=(DisplayCluster),
HideCategories=(Navigation, AssetUserData, LOD, Physics, Cooking, Activation, Tags, Gizmo, Collision, ComponentReplication, Events, Sockets, ComponentTick, Rendering),
Meta=(BlueprintSpawnableComponent, DisplayName="NDisplay View Point"))
class UDisplayClusterCameraComponent :
public USceneComponent ,
public IDisplayClusterComponent
Remarks
3D point in space used to render nDisplay viewports from
Variables
| Type | Name | Description | |
|---|---|---|---|
| FVector | BaseGizmoScale | Base gizmo scale | |
| uint8: 1 = 1 | bEnableDepthOfField | Enable the DoF PP settings from the specified camera. | |
| uint8: 1 | bEnableGizmo | Gizmo visibility | |
| uint8: 1 = 1 | bEnableICVFXColorGrading | Use the DC ColorGrading from the specified ICVFX camera. | |
| uint8: 1 = 1 | bEnableICVFXDepthOfFieldCompensation | Use the DC Depth-Of-Field settings from the specified ICVFX camera. | |
| uint8: 1 = 1 | bEnableICVFXMotionBlur | Use the DC Motion Blur settings from the specified ICVFX camera. | |
| uint8: 1 = 1 | bEnableNearClippingPlane | Use the NearClippingPlane value from the specified cine camera. | |
| uint8: 1 = 1 | bEnablePostProcess | Use the PP settings from the specified camera. | |
| uint8: 1 = 1 | bUseICVFXCameraComponentTracking | ||
| TSoftObjectPtr< ACineCameraActor > | ExternalCineCameraActor | Use a specific actor camera instead of a game camera. | |
| float | GizmoScaleMultiplier | Gizmo scale multiplier | |
| FString | ICVFXCameraComponentName | The name of the camera component that is used as the PP source. | |
| TObjectPtr< UBillboardComponent > | SpriteComponent | ||
| TObjectPtr< UTexture2D > | SpriteTexture | ||
| EDisplayClusterTargetCameraType | TargetCameraType | Type of source camera used. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UDisplayClusterCameraComponent
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Apply the ViewPoint component's post-processes to the viewport. (Outer viewport camera) | ||
| EDisplayClusterViewportCameraPostProcessFlags | Decodes parameters into flags. | ||
| void | GetDesiredView
(
FMinimalViewInfo& InOutViewInfo, |
Return ViewPoint for this component If the component logic supports postprocess, it will also be in the ViewInfo structure. | |
| void | GetDesiredView
(
IDisplayClusterViewportConfiguration& InViewportConfiguration, |
Return ViewPoint for this component If the component logic supports postprocess, it will also be in the ViewInfo structure. | |
| TObjectPtr< UMaterial > | GetDisplayDeviceMaterial
(
const EDisplayClusterDisplayDeviceMeshType InMeshType, |
Override DisplayDevice material by type for The UDisplayClusterInFrustumFitCameraComponent uses its own material to display additional deformed preview meshes in front of the camera. | |
| UCameraComponent * | Return used camera component. | ||
| UCameraComponent * | Returns the camera component from the 'ExternalCameraActor' parameter. | ||
| void | GetEyePosition
(
const IDisplayClusterViewportConfiguration& InViewportConfiguration, |
Returns the position of the observer's eyes in the Stage. | |
| float | Get interpupillary distance | ||
| EDisplayClusterEyeStereoOffset | Get stereo offset type | ||
| bool | GetSwapEyes () |
Get swap eyes state | |
| UCameraComponent * | GetTargetCameraComponent
(
const IDisplayClusterViewportConfiguration& InViewportConfiguration |
Return a reference to the Camera component, which is used for Outer viewports. | |
| bool | GetTargetCameraDesiredViewInternal
(
const IDisplayClusterViewportConfiguration& InViewportConfiguration, |
Get view from the referenced camera. | |
| IDisplayClusterWarpPolicy * | GetWarpPolicy
(
IDisplayClusterViewportManager* InViewportManager |
Get the warp policy instance used by this compoenent. | |
| bool | Returns true if active engine camera is used. | ||
| bool | Returns true if the `ExternalCineCameraActor_ parameter is used. | ||
| bool | Returns true if the `ICVFXCameraComponentName_ parameter is used. | ||
| bool | Returns true if the given viewpoint position should be used as a camera position. | ||
| void | OnUpdateDisplayDeviceMeshAndMaterialInstance
(
IDisplayClusterViewportPreview& InViewportPreview, |
Perform any operations on the mesh and material instance, such as setting parameter values. | |
| void | Refreshes the visual components to match the component state | ||
| void | SetInterpupillaryDistance
(
float Distance |
Set interpupillary distance | |
| void | SetStereoOffset
(
EDisplayClusterEyeStereoOffset InStereoOffset |
Set stereo offset type | |
| void | SetSwapEyes
(
bool SwapEyes |
Set swap eyes state | |
| bool | ShouldUseEntireClusterViewports
(
IDisplayClusterViewportManager* InViewportManager |
All cluster viewports that reference this component will be created in the background on the current cluster node if the function returns true. | |
| bool | Toggles eyes swap state |
Overridden from UActorComponent
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< SWidget > | If this component is set up to provide a preview window in editor (see GetEditorPreviewInfo), you can use this to customize the preview (to be something other than a world viewport). | ||
| bool | GetEditorPreviewInfo
(
float DeltaTime, |
Supplies the editor with a view specific to this component (think a view from a camera components POV, a render, etc.). | |
| void | OnRegister () |
End IDisplayClusterComponent. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| bool | CanEditChange
(
const FProperty* InProperty |
Begin UObject. | |
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |
Overridden from IDisplayClusterComponent
| Type | Name | Description | |
|---|---|---|---|
| void | SetVisualizationEnabled
(
bool bEnabled |
Activates or deactivates component visualization | |
| void | SetVisualizationScale
(
float Scale |
Begin IDisplayClusterComponent. |