Variable validateGumballTransformParameterSettingsConst
validateGumballTransformParameterSettings: (
param: unknown,
) => z.ZodSafeParseResult<
{
props: {
activeMode?: "default"
| "activeOnStart";
availableColor?: string | { [x: string]: unknown } | null;
deselectOnEmpty?: boolean;
enableRotation?: boolean;
enableRotationAxes?:
| {
x?: boolean;
xy?: boolean;
xz?: boolean;
y?: boolean;
yz?: boolean;
z?: boolean;
}
| null;
enableScaling?: boolean;
enableScalingAxes?: | {
x?: boolean;
xy?: boolean;
xz?: boolean;
y?: boolean;
yz?: boolean;
z?: boolean;
}
| null;
enableTranslation?: boolean;
enableTranslationAxes?: | {
x?: boolean;
xy?: boolean;
xz?: boolean;
y?: boolean;
yz?: boolean;
z?: boolean;
}
| null;
hover?: boolean;
hoverColor?: string
| { [x: string]: unknown }
| null;
maximumSelection?: number | null;
minimumSelection?: number | null;
nameFilter?: string[] | null;
objects?:
| {
nameFilter: string;
restrictions: string[];
dragAnchors?: | {
id: string;
position: (...)[];
rotation?: (...) | (...) | (...);
}[]
| null;
dragOrigin?: number[]
| null;
}[]
| null;
prompt?: | {
activeText?: string
| null;
activeTitle?: string | null;
inactiveTitle?: string | null;
}
| null;
restrictions?: | {
id: string;
type: string;
rotation?: { angle: number; axis: number[] }
| null;
[x: string]: unknown;
}[]
| null;
scale?: number
| null;
selectionColor?: string | { [x: string]: unknown } | null;
space?: "local" | "world" | null;
};
type: "gumball";
},
>
Type Declaration
- (
param: unknown,
): z.ZodSafeParseResult<
{
props: {
activeMode?: "default"
| "activeOnStart";
availableColor?: string | { [x: string]: unknown } | null;
deselectOnEmpty?: boolean;
enableRotation?: boolean;
enableRotationAxes?:
| {
x?: boolean;
xy?: boolean;
xz?: boolean;
y?: boolean;
yz?: boolean;
z?: boolean;
}
| null;
enableScaling?: boolean;
enableScalingAxes?: | {
x?: boolean;
xy?: boolean;
xz?: boolean;
y?: boolean;
yz?: boolean;
z?: boolean;
}
| null;
enableTranslation?: boolean;
enableTranslationAxes?: | {
x?: boolean;
xy?: boolean;
xz?: boolean;
y?: boolean;
yz?: boolean;
z?: boolean;
}
| null;
hover?: boolean;
hoverColor?: string
| { [x: string]: unknown }
| null;
maximumSelection?: number | null;
minimumSelection?: number | null;
nameFilter?: string[] | null;
objects?:
| {
nameFilter: string;
restrictions: string[];
dragAnchors?: | {
id: string;
position: (...)[];
rotation?: (...) | (...) | (...);
}[]
| null;
dragOrigin?: number[]
| null;
}[]
| null;
prompt?: | {
activeText?: string
| null;
activeTitle?: string | null;
inactiveTitle?: string | null;
}
| null;
restrictions?: | {
id: string;
type: string;
rotation?: { angle: number; axis: number[] }
| null;
[x: string]: unknown;
}[]
| null;
scale?: number
| null;
selectionColor?: string | { [x: string]: unknown } | null;
space?: "local" | "world" | null;
};
type: "gumball";
},
> Returns z.ZodSafeParseResult<
{
props: {
activeMode?: "default"
| "activeOnStart";
availableColor?: string | { [x: string]: unknown } | null;
deselectOnEmpty?: boolean;
enableRotation?: boolean;
enableRotationAxes?:
| {
x?: boolean;
xy?: boolean;
xz?: boolean;
y?: boolean;
yz?: boolean;
z?: boolean;
}
| null;
enableScaling?: boolean;
enableScalingAxes?: | {
x?: boolean;
xy?: boolean;
xz?: boolean;
y?: boolean;
yz?: boolean;
z?: boolean;
}
| null;
enableTranslation?: boolean;
enableTranslationAxes?: | {
x?: boolean;
xy?: boolean;
xz?: boolean;
y?: boolean;
yz?: boolean;
z?: boolean;
}
| null;
hover?: boolean;
hoverColor?: string
| { [x: string]: unknown }
| null;
maximumSelection?: number | null;
minimumSelection?: number | null;
nameFilter?: string[] | null;
objects?:
| {
nameFilter: string;
restrictions: string[];
dragAnchors?: | {
id: string;
position: (...)[];
rotation?: (...) | (...) | (...);
}[]
| null;
dragOrigin?: number[]
| null;
}[]
| null;
prompt?: | {
activeText?: string
| null;
activeTitle?: string | null;
inactiveTitle?: string | null;
}
| null;
restrictions?: | {
id: string;
type: string;
rotation?: { angle: number; axis: number[] }
| null;
[x: string]: unknown;
}[]
| null;
scale?: number
| null;
selectionColor?: string | { [x: string]: unknown } | null;
space?: "local" | "world" | null;
};
type: "gumball";
},
>