ACameraRig_Rail

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

CinematicCamera

Header

/Engine/Source/Runtime/CinematicCamera/Public/CameraRig_Rail.h

Include

#include "CameraRig_Rail.h"

Syntax

class ACameraRig_Rail : public AActor

Variables

Name Description

Public variable

bool

 

bLockOrientationToRail

Determines whether the orientation of the mount should be in the direction of the rail.

Public variable

bool

 

bShowRailVisualization

Determines whether or not to show the rail mesh preview.

Public variable

float

 

CurrentPositionOnRail

Defines current position of the mount point along the rail, in terms of normalized distance from the beginning of the rail.

Public variable

float

 

PreviewMeshScale

Determines the scale of the rail mesh preview

Constructors

Name Description

Public function

ACameraRig_Rail

(
    const FObjectInitializer& ObjectIn...
)

Ctor

Functions

Name Description

Public function

USplineCompo...

 

GetRailSplineComponent()

Returns the spline component that defines the rail path

Overridden from AActor

Name Description

Public function Virtual Const

USceneCompon...

 

GetDefaultAttachComponent()

Returns this actor's default attachment component for attaching children to

Public function Virtual

void

 

PostEditMove

(
    bool bFinished
)

Called after an actor has been moved in the editor

Public function Virtual Const

bool

 

ShouldTickIfViewportsOnly()

If true, actor is ticked even if TickType==LEVELTICK_ViewportsOnly

Public function Virtual

void

 

Tick

(
    float DeltaSeconds
)

Function called every frame on this Actor.

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Public function Virtual

void

 

PostEditUndo()

Called after applying a transaction to the object.