Class: MockEffectorParams
Mock of the X-Ray engine effector_params class for jest/node.
Defaults match the neutral post-process state described in the engine typings: no blur, gray, duality or noise intensity.
Implements
effector_params
Constructors
Constructor
ts
new MockEffectorParams(): MockEffectorParams;Returns
MockEffectorParams
Methods
create()
ts
static create(): MockEffectorParams;Returns
MockEffectorParams
mock()
ts
static mock(): effector_params;Returns
effector_params
Properties
__name
ts
readonly __name: string = "effector_params";LuaBind instance constructor name.
Implementation of
ts
effector_params.__nameassign
ts
assign: MockedFunction<(params: effector_params) => void>;Copy all post-process values from another params object.
Remarks
Copies the current values. Later changes to params are not linked back to this object.
Param
params
Source values.
Implementation of
ts
effector_params.assignblur
ts
blur: number = 0;Blur amount.
Implementation of
ts
effector_params.blurcolor_add
ts
color_add: color;Additive color applied over the frame.
Implementation of
ts
effector_params.color_addcolor_base
ts
color_base: color;Base color tint.
Implementation of
ts
effector_params.color_basecolor_gray
ts
color_gray: color;Grayscale color tint.
Implementation of
ts
effector_params.color_graydual
ts
dual: duality;Double-vision settings.
Implementation of
ts
effector_params.dualgray
ts
gray: number = 0;Grayscale amount.
Implementation of
ts
effector_params.graynoise
ts
noise: noise;Noise settings.
Implementation of
ts
effector_params.noise