Lib.render.camera.Camera - tixl3d/tixl GitHub Wiki

Camera

in Lib.render.camera


Sets the camera for the subgraph.


Input Parameters

Name (Relevancy & Type) Description
Command (CommandRequired) -
Position (Vector3) X (-left / +right), Y (-down / + up), Z (-forward/+backwards) coordinates of the current view position.

The default z-position is 2.41 behind the centered scene origin so that a [Layer2d] with a size of 2 precisely fills the screen height for a Field of view (Fov) of 45°.
Target (Vector3) The view target of the camera. The line between the Position and the Target defines the view direction.
FOV (Single) Defines the field of view (FOV) or focal length of the camera in degrees
Roll (Single) Rotates the camera right / left
PositionOffset (Vector3) -
AlsoOffsetTarget (Boolean) -
RotationOffset (Vector3) -
ViewportShift (Vector2) -
NearFarClip (Vector2) Defines the start and end of the area in which objects are rendered by the camera.
AspectRatio (Single) Enforce as fixed aspect ratio for the camera view.
For values smaller or equal 0 this settings is ignored and the current view's aspect-ratio is automatically used. When setting this parameter to a positive window the content get's stretched with the aspect of the output window.
Up (Vector3) Defined a helping vector to control the rotation of the camera. If the the view direction approaches the Up-Vector, camera motion becomes instable because of gimbal lock.

This needs to be adjusted in cases where the camera needs to point directly up or down.

Outputs

Name Type
Output T3.Core.DataTypes.Command
Reference System.Object

Please help use to improve this documentation. Feel free to improve the description.

⚠ Everything else is automatically generated and will be overwritten regularly.

⚠️ **GitHub.com Fallback** ⚠️