polygonjs-engine
Version:
node-based webgl 3D engine https://polygonjs.com
17 lines (16 loc) • 1.07 kB
TypeScript
import { TypedNumericParam } from './_Numeric';
import { ParamType } from '../poly/ParamType';
import { ParamInitValuesTypeMap } from './types/ParamInitValuesTypeMap';
import { ParamValuesTypeMap } from './types/ParamValuesTypeMap';
export declare class FloatParam extends TypedNumericParam<ParamType.FLOAT> {
static type(): ParamType;
get default_value_serialized(): string | number;
get raw_input_serialized(): string | number;
get value_serialized(): number;
protected _copy_value(param: FloatParam): void;
protected _prefilter_invalid_raw_input(raw_input: any): ParamInitValuesTypeMap[ParamType.INTEGER];
static are_raw_input_equal(raw_input1: ParamInitValuesTypeMap[ParamType.FLOAT], raw_input2: ParamInitValuesTypeMap[ParamType.FLOAT]): boolean;
static are_values_equal(val1: ParamValuesTypeMap[ParamType.FLOAT], val2: ParamValuesTypeMap[ParamType.FLOAT]): boolean;
static convert(raw_val: ParamInitValuesTypeMap[ParamType.FLOAT]): number | null;
convert(raw_val: ParamInitValuesTypeMap[ParamType.FLOAT]): number | null;
}