Liking cljdoc? Tell your friends :D
ClojureScript only.

mathbox.primitives.base


Groupcljs

Group elements for visibility and activity

  • :active: true (bool) - Updates continuously
  • :classes: [] (string array) - Custom classes, e.g. ["big"]
  • :id: null (nullable string) - Unique ID, e.g. "sampler"
  • :visible: true (bool) - Visibility for rendering
*Group elements for visibility and activity*

- `:active`: `true` (bool) - Updates continuously
- `:classes`: `[]` (string array) - Custom classes, e.g. `["big"]`
- `:id`: `null` (nullable string) - Unique ID, e.g. `"sampler"`
- `:visible`: `true` (bool) - Visibility for rendering
sourceraw docstring

Inheritcljs

Inherit and inject a trait from another element

  • :classes: [] (string array) - Custom classes, e.g. ["big"]
  • :id: null (nullable string) - Unique ID, e.g. "sampler"
*Inherit and inject a trait from another element*

- `:classes`: `[]` (string array) - Custom classes, e.g. `["big"]`
- `:id`: `null` (nullable string) - Unique ID, e.g. `"sampler"`
sourceraw docstring

Unitcljs

Change unit sizing for drawing ops

  • :classes: [] (string array) - Custom classes, e.g. ["big"]
  • :focus: 1 (nullable number) - Camera focus distance in world units
  • :fov: null (nullable number) - (Vertical) Field-of-view to calibrate units for (degrees), e.g. 60
  • :id: null (nullable string) - Unique ID, e.g. "sampler"
  • :scale: null (nullable number) - (Vertical) Reference scale of viewport in pixels, e.g. 720
*Change unit sizing for drawing ops*

- `:classes`: `[]` (string array) - Custom classes, e.g. `["big"]`
- `:focus`: `1` (nullable number) - Camera focus distance in world units
- `:fov`: `null` (nullable number) - (Vertical) Field-of-view to calibrate units for (degrees), e.g. `60`
- `:id`: `null` (nullable string) - Unique ID, e.g. `"sampler"`
- `:scale`: `null` (nullable number) - (Vertical) Reference scale of viewport in pixels, e.g. `720`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close