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