Navigation
API > API/Plugins > API/Plugins/DisplayCluster
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- AActor
- ADisplayClusterLightCardActor
- ADisplayClusterChromakeyCardActor
References
| Module | DisplayCluster |
| Header | /Engine/Plugins/Runtime/nDisplay/Source/DisplayCluster/Public/DisplayClusterLightCardActor.h |
| Include | #include "DisplayClusterLightCardActor.h" |
Syntax
UCLASS (Blueprintable, DisplayName="Light Card",
HideCategories=(Tick, Physics, Collision, Networking, Replication, Cooking, Input, Actor, HLOD))
class ADisplayClusterLightCardActor :
public AActor ,
public IDisplayClusterStageActor
Variables
| Type | Name | Description | |
|---|---|---|---|
| FLightCardAlphaGradientSettings | AlphaGradient | Settings related to an alpha gradient effect | |
| bool | bAlwaysFlushToWall | Indicates whether the light card is always made to be flush to a stage wall or not | |
| bool | bIsLightCardFlag | Indicates this light card should be considered a flag | |
| bool | bIsUVLightCard | Indicates if the light card exists in 3D space or in UV space | |
| bool | bLockToOwningRootActor | A flag that controls whether the light card's location and rotation are locked to its "owning" root actor | |
| FLinearColor | Color | Light card color, before any modifier is applied | |
| TObjectPtr< USceneComponent > | DefaultSceneRootComponent | ||
| double | DistanceFromCenter | Radius of light card polar coordinates. Does not include the effect of RadialOffset | |
| float | Exposure | 2^Exposure color value multiplier | |
| TMap< FName, TObjectPtr< UActorComponent > > | ExtenderNameToComponentMap | Components added by the IDisplayLightCardActorExtender | |
| float | Feathering | Feathers in the alpha from the edges | |
| float | Gain | Linear color value multiplier | |
| TObjectPtr< UDisplayClusterLabelComponent > | LabelComponent | ||
| double | Latitude | Related to the Elevation of light card polar coordinates | |
| TObjectPtr< UStaticMeshComponent > | LightCardComponent | ||
| TObjectPtr< USceneComponent > | LightCardTransformerComponent | ||
| double | Longitude | Related to the Azimuth of light card polar coordinates | |
| TObjectPtr< USpringArmComponent > | MainSpringArmComponent | ||
| EDisplayClusterLightCardMask | Mask | ||
| float | Opacity | Linear alpha multiplier | |
| EDisplayClusterConfigurationICVFX_PerLightcardRenderMode | PerLightcardRenderMode | Specify how to render this Light Card Actor in relation to the inner frustum. | |
| double | Pitch | ||
| TArray< FVector2D > | Polygon | Polygon points when using this type of mask | |
| TObjectPtr< UTexture > | PolygonMask | Used to flag this light card as a proxy of a "real" light card. Used by the LightCard Editor | |
| double | RadialOffset | Used by the flush constraint to offset the location of the light card form the wall | |
| FVector2D | Scale | ||
| double | Spin | Roll rotation of light card around its plane axis | |
| TObjectPtr< UDisplayClusterStageActorComponent > | StageActorComponent | Manages stage actor properties | |
| float | Temperature | ||
| TObjectPtr< UTexture > | Texture | ||
| float | Tint | ||
| FVector2D | UVCoordinates | The UV coordinates of the light card, if it is in UV space | |
| TObjectPtr< UStaticMeshComponent > | UVIndicatorComponent | ||
| double | Yaw |
Constructors
| Type | Name | Description | |
|---|---|---|---|
ADisplayClusterLightCardActor
(
const FObjectInitializer& ObjectInitializer |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddToLightCardLayer
(
ADisplayClusterRootActor* InRootActor |
Add this light card to a light card layer on the given root actor | |
| void | AddToRootActor
(
ADisplayClusterRootActor* InRootActor |
Add this light card to a root actor | |
| void | Removes components that were added by IDisplayClusterLightCardActorExtender | ||
| void | Creates components for IDisplayClusterLightCardActorExtender | ||
| FName | |||
| UDisplayClusterLabelComponent * | Return the label component | ||
| void | GetLightCardMeshComponents
(
TArray< UMeshComponent* >& MeshComponents |
Gets the light card mesh components | |
| ADisplayClusterRootActor * | Return the root actor owner of the light card | ||
| UDisplayClusterStageActorComponent * | Retrieve the stage actor component | ||
| UStaticMesh * | Returns the current static mesh used by this light card | ||
| bool | If this light card is considered a flag | ||
| void | Makes the light card flush to the wall | ||
| void | OnLevelActorDeleted
(
AActor* DeletedActor |
Called when a level actor is deleted | |
| void | Remove this light card from the root actor | ||
| void | RemoveFromRootActorList
(
ADisplayClusterRootActor* RootActor |
Removes this actor from a root actor's ShowOnlyList.Actors, if possible. | |
| void | SetIsLightCardFlag
(
bool bNewFlagValue |
Configures this light card as a flag | |
| void | SetIsUVActor
(
bool bNewUVValue |
Configures this light card as a UV actor | |
| void | SetRootActorOwner
(
ADisplayClusterRootActor* InRootActor |
Set the root actor of the stage actor component | |
| void | SetStaticMesh
(
UStaticMesh* InStaticMesh |
Sets a new static mesh for the light card | |
| void | SetWeakRootActorOwner
(
ADisplayClusterRootActor* InRootActor |
Set a weak root actor owner. | |
| void | ShowLightCardLabel
(
const FDisplayClusterLabelConfiguration& InLabelConfiguration |
Configure light card labels | |
| void | ShowLightCardLabel
(
bool bValue, |
Show or hide the light card label | |
| void | Updates the card's material instance parameters | ||
| void | Sync the position to the root actor | ||
| void | Updates the light card actor visibility | ||
| void | Updates the polygon texture from the polygon points | ||
| void | Updates the UV Indicator |
Overridden from AActor
| Type | Name | Description | |
|---|---|---|---|
| void | Destroyed () |
Called when this actor is explicitly being destroyed during gameplay or in the editor, not called during level streaming or gameplay ending | |
| FName | Returns a custom brush icon name to use in place of the automatic class icon where actors are represented via 2d icons in the editor (e.g scene outliner and menus) | ||
| void | OnConstruction
(
const FTransform& Transform |
Called when an instance of this class is placed (in editor) or spawned. | |
| bool | If true, actor is ticked even if TickType==LEVELTICK_ViewportsOnly | ||
| void | Tick
(
float DeltaSeconds |
Function called every frame on this Actor. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |
Overridden from IDisplayClusterStageActor
| Type | Name | Description | |
|---|---|---|---|
| FBox | GetBoxBounds
(
bool bLocalSpace |
Gets the object oriented bounding box of the light card component | |
| double | |||
| double | GetLatitude () |
||
| double | GetLongitude () |
||
| FTransform | GetOrigin () |
||
| double | GetPitch () |
||
| void | GetPositionalProperties
(
FPositionalPropertyArray& OutPropertyPairs |
Get an array of positional properties defined for this stage actor for use in property notifies. | |
| double | |||
| FVector2D | GetScale () |
||
| double | GetSpin () |
||
| FTransform | GetStageActorTransform
(
bool bRemoveOrigin |
Gets the transform in world space of the light card component | |
| FVector2D | |||
| double | GetYaw () |
||
| bool | |||
| bool | IsUVActor () |
Whether this actor supports movement in UV space | |
| void | SetAlwaysFlushToWall
(
bool bInAlwaysFlushToWall |
||
| void | SetDistanceFromCenter
(
double InValue |
||
| void | SetLatitude
(
double InValue |
||
| void | SetLongitude
(
double InValue |
||
| void | SetOrigin
(
const FTransform& InOrigin |
||
| void | SetPitch
(
double InValue |
||
| void | SetRadialOffset
(
double InValue |
||
| void | |||
| void | SetSpin
(
double InValue |
||
| void | SetUVCoordinates
(
const FVector2D& InUVCoordinates |
||
| void | SetYaw
(
double InValue |
||
| void | Updates the Light Card transform based on its positional properties (Lat, Long, etc.) |
Constants
| Name | Description |
|---|---|
| LightCardStageActorComponentName | The name used for the stage actor component |
| UVPlaneDefaultDistance | The default distance from the view of the projection plane UV light cards are rendered to |
| UVPlaneDefaultSize | The default size of the projection plane UV light cards are rendered to |