Lumberyard
Legacy Reference

Camera Nodes

Flow Graph is deprecated and will be removed in a future version of Lumberyard. Learn about Script Canvas, Lumberyard's new visual scripting environment.

This topic references tools and features that are legacy. If you want to use legacy tools in Lumberyard Editor, disable the CryEntity Removal gem using the Project Configurator or the command line. To learn about the latest features, see the Amazon Lumberyard User Guide.

You can use the following flow graph nodes to configure player camera settings.

GetTransform node

Used to get and output the position and direction of the player camera.

Inputs

Port Type Description
Get Any Triggers the retrieval of the currently active camera position and direction

Outputs

Port Type Description
Pos Vec3 Outputs camera position
Dir Vec3 Outputs camera direction

View node

Used to create a custom view linked to the chosen entity.

Inputs

Port Type Description
Enable Boolean Activates the node
Disable Boolean Deactivates the node
FOV Float Camera field of view
Blend Boolean Whether to blend the camera or not
BlendFOVSpeed Float Blended field of view speed
BlendFOVOffset Float Blended field of view offset
BlendPosSpeed Float Blended position speed
BlendPosOffset Vec3 Blended position offset
BlendRotSpeed Float Blended rotation speed
BlendRotOffset Vec3 Blended rotation offset

ViewShakeEx node

Used to enable camera shake on the player's view. You can specify the fade in and out durations and stop the effect.

Inputs

Port Type Description
Trigger Any Triggers the node
Restrict Integer Restricts the view
View Integer Which camera view to use
GroundOnly Boolean Applies shake only when the player is standing on the ground
Smooth Boolean Anys sudden direction changes
Angle Vec3 Shake angle
Shift Vec3 Shake shift
Frequency Float Shake frequency
Randomness Float Randomness of shake
Distance Float Distance to effect source
RangeMin Float Minimum strength effect range
RangeMax Float Maximum strength effect range
SustainDuration Float Duration of the non-fading part of the shake
FadeInDuration Float Fade in time
FadeOutDuration Float Fade out time
Stop Any Stops the shake
Preset Integer Preset input values