Threeagent provides a number of entity-types out-of-the-box, allowing you to quickly get started building 3D scenes.
:objectProperties: :position :rotation :scale
Corresponds to Object3D
:groupProperties: :position :rotation :scale
Corresponds to Group
:instanceProperties: :object
Where :object is a valid THREE.js object instance (Mesh, Camera, Group, etc).
The value :object will be directly injected into the scene graph at this component's location.
:boxProperties: :width :height :depth :width-segments :height-segments :depth-segments :material :cast-shadow :receive-shadow
Corresponds to BoxGeometry
:planeProperties: :width :height :width-segments :height-segments :material :cast-shadow :receive-shadow
Corresponds to PlaneGeometry
:sphereProperties: :radius :phi-start :phi-length :theta-start :theta-length :width-segments :height-segments :material :cast-shadow :receive-shadow
Corresponds to SphereGeometry
:cylinderProperties: :radius-top :radius-bottom :height :radial-segments :height-segments :open-ended? :theta-start :theta-length :material :cast-shadow :receive-shadow
Corresponds to CylinderGeometry
:circleProperties: :radius :segments :theta-start :theta-length :material :cast-shadow :receive-shadow
Corresponds to CircleGeometry
:coneProperties: :radius :height :radial-segments :height-segments :open-ended? :theta-start :theta-length :material :cast-shadow :receive-shadow
Corresponds to ConeGeometry
:dodecahedronProperties: :radius :detail :material :cast-shadow :receive-shadow
Corresponds to DodecahedronGeometry
:icosahedronProperties: :radius :detail :material :cast-shadow :receive-shadow
Corresponds to IcosahedronGeometry
:octahedronProperties: :radius :detail :material :cast-shadow :receive-shadow
Corresponds to OctahedronGeometry
:tetrahedronProperties: :radius :detail :material :cast-shadow :receive-shadow
Corresponds to TetrahedronGeometry
:ringProperties: :inner-radius :outer-radius :theta-segments :phi-segments :theta-start :theta-length :material :cast-shadow :receive-shadow
Corresponds to RingGeometry
:torusProperties: :radius :tube :radial-segments :tubular-segments :arc :material :cast-shadow :receive-shadow
Corresponds to TorusGeometry
:torus-knotProperties: :radius :tube :radial-segments :tubular-segments :p :q :material :cast-shadow :receive-shadow
Corresponds to TorusKnotGeometry
:shapeProperties: :shape :material :cast-shadow :receive-shadow
Where :shape is a valid THREE.js Shape.
Corresponds to ShapeGeometry
:ambient-lightProperties: :color :intensity
Corresponds to AmbientLight
:point-lightProperties: :color :intensity :distance :decay :cast-shadow :shadow
Corresponds to PointLight
:directional-lightProperties: :color :intensity :cast-shadow :shadow
Corresponds to DirectionalLight
:hemisphere-lightProperties: :sky-color :ground-color :intensity
Corresponds to HemisphereLight
:rect-area-lightProperties: :color :intensity :width :height
Corresponds to RectAreaLight
:spot-lightProperties: :color :intensity :distance :angle :penumbra :decay :cast-shadow shadow
Corresponds to SpotLight
:perspective-cameraProperties: :fov :aspect :near :far :material
Corresponds to PerspectiveCamera
:orthographic-cameraProperties: :left :right :top :bottom :near :far :material
Corresponds to OrthographicCamera
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |