Header menu logo Mibo.Raylib

Camera3DConfig Type

Camera rendering configuration for 3D pipelines.

Controls how a camera renders: viewport bounds, clear behavior, and post-processing. Construct via Camera3D.render and the with* modifiers.

ClearColor doubles as the clear signal: ValueNone = don't clear (overlay on existing content), ValueSome color = clear with this color before rendering.

Record fields

Record Field Description

Camera

Full Usage: Camera

Field type: Camera3D

The raylib camera for rendering.

Field type: Camera3D

ClearColor

Full Usage: ClearColor

Field type: Color voption

Clear color before rendering. ValueNone = don't clear. ValueSome = clear with this color.

Field type: Color voption

PostProcessPasses

Full Usage: PostProcessPasses

Field type: int[] voption

Post-process pass indices. ValueNone = all passes. ValueSome [||] = no passes.

Field type: int[] voption

Viewport

Full Usage: Viewport

Field type: Rectangle voption

Viewport in normalized screen coordinates (0-1). ValueNone = fullscreen.

Field type: Rectangle voption

Type something to start searching.