Skip to content

Camera

Camera nodes can be used instead of the default camera to render the scene. In addition to camera specific properties such as fov they also have all the properties of the Environmental Settings Profile and Render Effects Profile. The profiles can be loaded using FxCamera.LoadProfile.

New Properties

NameTypeDefaultAccessDescription
near1f0.1🟩🟥Near clipping plane in units
far1f1000.0🟩🟥Far clipping plane in units
fov1f50.0🟩🟥▶️Field of view in degrees
resolution2i(100, 100)🟩🟥Pixel count in width and height
roll1f0.0🟩🟥▶️Camera roll in degrees
zoom1f1.0🟩🟥▶️Camera zoom

New Environmental Settings Properties

NameTypeDefaultAccessDescription
atmIntensity1f1.0🟩🟥▶️Atmospheric scattering intensity
atmMieColor1c0xFFFFFFFF🟩🟥▶️Atmospheric scattering mie color
atmMieDensity1f1.0🟩🟥▶️Atmospheric scattering mie density
atmOzoneColor1c0xFF69FF6E🟩🟥▶️Atmospheric scattering ozone color
atmOzoneDensity1f1.0🟩🟥▶️Atmospheric scattering ozone density
atmPhase1f1.0🟩🟥▶️Atmospheric scattering phase (aka MieG)
atmRayleighColor1c0xFF2D68FF🟩🟥▶️Atmospheric scattering rayleigh color
atmRayleighDensity1f1.0🟩🟥▶️Atmospheric scattering rayleigh density
bgColor1c0xFF555555🟩🟥▶️Background color
bgVisible1btrue🟩🟥▶️Display background
groundColor1c0xFF4444🟩🟥▶️Ground color
groundHorizon1f0.4🟩🟥▶️Ground horizon size
groundVisible1btrue🟩🟥▶️Display ground
iblBlur1f0.0🟩🟥▶️Image base lighting blur amount
iblFile1s"default"🟩🟥▶️Image base lighting Cubemap FileID (no list, wildcard or filter)
iblIntensity1f1.0🟩🟥▶️Image base lighting intensity
iblRotationi10🟩🟥▶️Image base lighting cubemap rotation angle in degrees
skyModei10🟩🟥SkyMode
sunAzimuth1f-110🟩🟥▶️Sun azimuthal angle in degrees
sunCastShadows1btrue🟩🟥▶️Enable shadow casting by sun
sunColor1c0xFFFFFFFF🟩🟥▶️Sunlight color
sunDiskVisible1btrue🟩🟥▶️Show sun disk
sunDiskRadius1f10🟩🟥▶️Sun disk radius
sunElevation1f50🟩🟥▶️Sun elevation angle in degrees
sunIntensity1f0.7🟩🟥▶️Sunlight intensity
unilightColor1c0xFFFFFFFF🟩🟥▶️Uniform lighting color
unilightIntensity1f0.35🟩🟥▶️Uniform lighting intensity

New Render Effects Properties

NameTypeDefaultAccessDescription
aaEnable1btrue🟩🟥Enable anti-aliasing
aoEnable1btrue🟩🟥▶️Enable ambient occlusion
aoIntensity1f5.0🟩🟥▶️Ambient occlusion intensity
aoRadius1f2.0🟩🟥▶️Ambient occlusion radius
bloomEnable1bfalse🟩🟥▶️Enable bloom
bloomIntensity1f1.0🟩🟥▶️Bloom intensity
bloomThreshold1f1.0🟩🟥▶️Bloom threshold
caEnable1bfalse🟩🟥▶️Enable chromatic abberation
caIntensity1f0.5🟩🟥▶️Chromatic abberation intensity
caShift2f(2.5, -0.5)🟩🟥▶️Chromatic abberation shift
ccBrightness1f0.0🟩🟥▶️Color correction brightness shift
ccContrast1f0.0🟩🟥▶️Color correction contrast shift
ccEnable1bfalse🟩🟥▶️Enable color correction
ccHue1f0.0🟩🟥▶️Color correction hue shift
ccSaturation1f0.0🟩🟥▶️Color correction saturation shift
ccTintColor1c0xFFFF0000🟩🟥▶️Color correction tint color
ccTintIntensity1f0.0🟩🟥▶️Color correction tint i
cgEnable1bfalse🟩🟥▶️Enable color grading
cgLutContribution1f1.0🟩🟥▶️Color grading lookup table contribution
cgLutFile1s"default"🟩🟥▶️Color grading lookup table LUT FileID (no list, wildcard or filter)
distortEnable1bfalse🟩🟥▶️Enable distortion
distortX1f0.5🟩🟥▶️Horizontal distortion
distortY1f0.5🟩🟥▶️Vertical distortion
dofEnable1bfalse🟩🟥▶️Enable depth of field
dofFocalLength1f12.0🟩🟥▶️Depth of field focal length
dofFocusDistance1f50.0🟩🟥▶️Depth of field docus distance
dofFStop1f5.6🟩🟥▶️Depth of field F-stop
exposure1f1.0🟩🟥▶️Color correction exposure multiplier
fisheyeEnable1bfalse🟩🟥▶️Enable fisheye lens
fisheyeIntensity1f0.2🟩🟥▶️Fisheye intensity
fogColor1c0xffffffff🟩🟥▶️Fog color
fogDensity1f0.5🟩🟥▶️Fog density
fogEnable1bfalse🟩🟥▶️Enable fog
gamma1f2.2🟩🟥▶️Gamma correction
grainEnable1bfalse🟩🟥▶️Enable grain
grainIntensity1f12.0🟩🟥▶️Grain intensity
grainStatic1bfalse🟩🟥Whether grain changes every frame
lensFlareEnable1bfalse🟩🟥▶️Enable lens flare
lensTextureEnable1bfalse🟩🟥▶️Enable lens texture
lensTextureFile1s"default"🟩🟥▶️Lens Texture FileID (no list, wildcard or filter)
lensTextureFilter1i1🟩🟥▶️TextureFilter
letterBoxEnable1bfalse🟩🟥▶️Enable letter box
letterBoxSize1f0.1🟩🟥▶️Letter box size
overlayAlign1i0🟩🟥▶️Overlay texture alignment RectAlign
overlayEnable1bfalse🟩🟥▶️Enable overlay
overlayFile1s"default"🟩🟥▶️Overlay Texture FileID (no list, wildcard or filter)
overlayOffset2i(0, 0)🟩🟥▶️Overlay texture offset
overlayOpacity1f1.0🟩🟥▶️Overlay texture opacity
sharpenEnable1bfalse🟩🟥▶️Enable sharpen
sharpenIntensity1f0.4🟩🟥▶️Sharpen intensity
toneMapping1i0🟩🟥ToneMapping algorithm
vignetteEnable1bfalse🟩🟥▶️Enable vignette
vignetteIntensity1f1.0🟩🟥▶️Vignette intensity
vignetteSize1f0.5🟩🟥▶️Vignette size
Details

Type
1b: boolean
1c: color (integer)
1i: integer
1f: float
1s: string
2b: 2-component boolean vector
2i: 2-component integer vector
2f: 2-component float vector
3b: 3-component boolean vector
3i: 3-component integer vector
3f: 3-component float vector

Access
🟩 : Property value can be read with FxNode.Get
🟥 : Property value can be changed with FxNode.Set
❌ : Property value is read-only and can't be changed
▶️ : Property can be animated with FxAnimation

Inherited Properties

From Node

id layer order parent selected tag type typeName visible

From Object3D

liveRotate liveScale liveTranslate pivot rotate scale translate

See Also

FxNode, FxObject3D, FxCamera