Documentation / @ripl/3d / createContext
Function: createContext() ​
createContext(
target,options?):CanvasContext3D
Defined in: 3d/src/context.ts:570
Creates a Canvas 2D–backed 3D rendering context attached to the given DOM target.
Parameters ​
| Parameter | Type |
|---|---|
target | string | HTMLElement |
options? | Context3DOptions |