Diorama

Made for a big screen.

This site is one 3D scene, built for a computer: a wide window and a mouse. Open dioramajs.dev on a desktop or a laptop to see it.This site is one 3D scene, built for a wide window. Make this one wider, or open dioramajs.dev on a larger screen.

GitHub

DioramaDocs

oneOf function

String param limited to these values, the first one the default.

View as Markdown
import { oneOf } from '@dioramajs/effects/effect'

The same as oneOf of the light entry, for effect modules, which must not import it.

function oneOf<T extends string>(...values: [T, ...T[]]): ChoiceParam<T>

Parameters

NameTypeDescription
values[T, ...T[]]

Defined in packages/effects/src/effect.ts.