CameraPostProcess
Defined in: client/api.d.ts:2387
A post-process layer: a preset, then its settings over it, then its materials. Every layer draws over the game’s own post-processing, the time-of-day grading included, in the game camera and the custom camera alike.
Properties
Section titled “Properties”
optionalfade?:number
Defined in: client/api.d.ts:2416
Seconds to blend from the layer’s current weight to this one. Applies to this call only. Default 0.
materials?
Section titled “materials?”
optionalmaterials?: (string|CameraPostProcessMaterial)[] |null
Defined in: client/api.d.ts:2401
Post-process materials, at most 16: an object path, or one with a weight.
preset?
Section titled “preset?”
optionalpreset?:string|null
Defined in: client/api.d.ts:2391
A photo-mode filter to start from (Camera.postProcessPresets() names them, e.g. “Gryffindor”), or the object path of an asset holding post-process settings. null for none.
priority?
Section titled “priority?”
optionalpriority?:number
Defined in: client/api.d.ts:2411
Order among layers, -100 to 100: a higher one draws over a lower. Default 0.
settings?
Section titled “settings?”
optionalsettings?:Record<string,string|number|boolean| {w?:number;x?:number;y?:number;z?:number; } | {a?:number;b?:number;g?:number;r?:number; } |null>
Defined in: client/api.d.ts:2396
Post-process settings by their Unreal name (BloomIntensity, or bloomIntensity), from Camera.postProcessSettings(). A number, boolean or enum value as its type takes; { r, g, b, a } for a color; { x, y, z, w } for a Vector4, where a lone number sets w, the overall amount (ColorSaturation: 0 is greyscale). Parts left out keep the preset’s value or the default. A texture or curve takes an asset path, “” for none. Setting one overrides it; null drops it.
weight?
Section titled “weight?”
optionalweight?:number
Defined in: client/api.d.ts:2406
How much of the layer shows, 0 to 1. Default 1.