Skip to content

CurveKey beta ​

Interface of @v12-engine/editor

ts
export interface CurveKey

A key of a curve as the curve editor has it: when (0 born, 1 gone), its value, and a most for a random between

Members ​

max ​

ts
max?: number;

The most the value may reach where it is a random between two; none for a fixed value

t ​

ts
t: number;

When on the curve the key is, from 0 (the particle is born) to 1 (it is gone)

value ​

ts
value: number;

The curve's value at the key