CS559 3D World Framework Code
GrObject: a "thin wrapper" around Three.JS's Object3D to facilitate creating UIs and doing animation
- Source:
Classes
Methods
(static) paramObjFromParam(param)
This function converts from the specifications given to the GrObject
constructor into the form used internally. It is the best documentation for
how those descriptions are interpreted.
when creating an object, a parameter is defined by an array of up to 5 things name (string) min (number) max (number) initial value (number) step size for slider (number)
Note: this function is for internal use, but it is exported to convince JSDoc to document it.
Parameters:
Name | Type | Description |
---|---|---|
param |
string | Array |
- Source: