Module: Three

Defined in:
lib/three.rb,
lib/three/dirty.rb,
lib/three/version.rb,
lib/three/constants.rb,
lib/three/core/clock.rb,
lib/three/math/color.rb,
lib/three/math/euler.rb,
lib/three/core/layers.rb,
lib/three/lights/light.rb,
lib/three/math/matrix3.rb,
lib/three/math/matrix4.rb,
lib/three/math/vector2.rb,
lib/three/math/vector3.rb,
lib/three/objects/line.rb,
lib/three/objects/mesh.rb,
lib/three/scenes/scene.rb,
lib/three/backends/base.rb,
lib/three/core/object3d.rb,
lib/three/objects/group.rb,
lib/three/cameras/camera.rb,
lib/three/core/raycaster.rb,
lib/three/objects/points.rb,
lib/three/objects/sprite.rb,
lib/three/math/math_utils.rb,
lib/three/math/quaternion.rb,
lib/three/backends/threejs.rb,
lib/three/textures/texture.rb,
lib/three/lights/point_light.rb,
lib/three/materials/material.rb,
lib/three/renderers/renderer.rb,
lib/three/loaders/gltf_loader.rb,
lib/three/loaders/rgbe_loader.rb,
lib/three/core/buffer_geometry.rb,
lib/three/lights/ambient_light.rb,
lib/three/core/buffer_attribute.rb,
lib/three/core/event_dispatcher.rb,
lib/three/textures/cube_texture.rb,
lib/three/textures/rgbe_texture.rb,
lib/three/loaders/texture_loader.rb,
lib/three/objects/instanced_mesh.rb,
lib/three/controls/orbit_controls.rb,
lib/three/geometries/box_geometry.rb,
lib/three/lights/hemisphere_light.rb,
lib/three/animation/animation_clip.rb,
lib/three/lights/directional_light.rb,
lib/three/animation/animation_mixer.rb,
lib/three/geometries/plane_geometry.rb,
lib/three/loaders/three_json_loader.rb,
lib/three/materials/points_material.rb,
lib/three/materials/shadow_material.rb,
lib/three/materials/sprite_material.rb,
lib/three/objects/external_object3d.rb,
lib/three/animation/animation_action.rb,
lib/three/cameras/perspective_camera.rb,
lib/three/geometries/sphere_geometry.rb,
lib/three/postprocessing/output_pass.rb,
lib/three/postprocessing/render_pass.rb,
lib/three/renderers/threejs_renderer.rb,
lib/three/backends/threejs/parameters.rb,
lib/three/cameras/orthographic_camera.rb,
lib/three/loaders/cube_texture_loader.rb,
lib/three/materials/mesh_toon_material.rb,
lib/three/exporters/three_json_exporter.rb,
lib/three/materials/line_basic_material.rb,
lib/three/materials/mesh_basic_material.rb,
lib/three/materials/mesh_phong_material.rb,
lib/three/materials/mesh_matcap_material.rb,
lib/three/materials/mesh_normal_material.rb,
lib/three/postprocessing/dot_screen_pass.rb,
lib/three/postprocessing/effect_composer.rb,
lib/three/materials/mesh_lambert_material.rb,
lib/three/backends/threejs/materialization.rb,
lib/three/backends/threejs/synchronization.rb,
lib/three/materials/mesh_physical_material.rb,
lib/three/materials/mesh_standard_material.rb,
lib/three/postprocessing/unreal_bloom_pass.rb,
lib/three/backends/threejs/ruby_wasm_adapter.rb,
lib/three/backends/threejs/resource_management.rb

Defined Under Namespace

Modules: Backends, Controls, Dirty, Exporters, Loaders, MathUtils, Postprocessing, Renderers Classes: AmbientLight, AnimationAction, AnimationClip, AnimationMixer, BoxGeometry, BufferAttribute, BufferGeometry, Camera, Clock, Color, CubeTexture, DirectionalLight, Euler, EventDispatcher, ExternalObject3D, Float32BufferAttribute, Group, HemisphereLight, InstancedMesh, Layers, Light, Line, LineBasicMaterial, Material, Matrix3, Matrix4, Mesh, MeshBasicMaterial, MeshLambertMaterial, MeshMatcapMaterial, MeshNormalMaterial, MeshPhongMaterial, MeshPhysicalMaterial, MeshStandardMaterial, MeshToonMaterial, Object3D, OrthographicCamera, PerspectiveCamera, PlaneGeometry, PointLight, Points, PointsMaterial, Quaternion, RGBETexture, Raycaster, Scene, ShadowMaterial, SphereGeometry, Sprite, SpriteMaterial, Texture, Uint16BufferAttribute, Uint32BufferAttribute, Vector2, Vector3

Constant Summary collapse

VERSION =
"0.1.0"
FrontSide =
0
BackSide =
1
DoubleSide =
2
NoBlending =
0
NormalBlending =
1
RepeatWrapping =
1000
ClampToEdgeWrapping =
1001
MirroredRepeatWrapping =
1002
NearestFilter =
1003
NearestMipmapNearestFilter =
1004
NearestMipMapNearestFilter =
1004
NearestMipmapLinearFilter =
1005
NearestMipMapLinearFilter =
1005
LinearFilter =
1006
LinearMipmapNearestFilter =
1007
LinearMipMapNearestFilter =
1007
LinearMipmapLinearFilter =
1008
LinearMipMapLinearFilter =
1008
UVMapping =
300
CubeReflectionMapping =
301
CubeRefractionMapping =
302
EquirectangularReflectionMapping =
303
EquirectangularRefractionMapping =
304
NoColorSpace =
""
SRGBColorSpace =
"srgb"
LinearSRGBColorSpace =
"srgb-linear"
BasicShadowMap =
0
PCFShadowMap =
1
PCFSoftShadowMap =
2
VSMShadowMap =
3