typings.three

Type members

Classlikes

@native @JSType
trait AnimationActionLoopStyles extends Object
@native @JSType
trait AnimationBlendMode extends Object
@native @JSType
trait Blending extends Object
@native @JSType
trait BlendingDstFactor extends Object
@native @JSType
trait BlendingEquation extends Object
@native @JSType
trait BlendingSrcFactor extends Object
@native @JSType
trait Combine extends Object
@native @JSType
trait CompressedPixelFormat extends Object
@native @JSType
trait CullFace extends Object
@native @JSType
trait DepthModes extends Object
@native @JSType
trait DepthPackingStrategies extends Object
@native @JSType
trait GLSLVersion extends Object
@native @JSType
trait InterpolationEndingModes extends Object
@native @JSType
trait InterpolationModes extends Object
@native @JSType
trait MOUSE extends Object
Companion
object
@native @JSImport("three", "MOUSE") @JSType
object MOUSE extends Object
Companion
class
@native @JSType
trait Mapping extends Object
@native @JSType
trait NormalMapTypes extends Object
@native @JSType
trait PixelFormat extends Object
@native @JSType
trait Shading extends Object
@native @JSType
trait ShadowMapType extends Object
@native @JSType
trait Side extends Object
@native @JSType
trait StencilFunc extends Object
@native @JSType
trait StencilOp extends Object
@native @JSType
trait TOUCH extends Object
Companion
object
@native @JSImport("three", "TOUCH") @JSType
object TOUCH extends Object
Companion
class
@native @JSType
trait TextureDataType extends Object
@native @JSType
trait TextureEncoding extends Object
@native @JSType
trait TextureFilter extends Object
@native @JSType
trait ToneMapping extends Object
@native @JSType
trait TrianglesDrawModes extends Object
@native @JSType
trait Usage extends Object
@native @JSType
trait Wrapping extends Object

Types

type BufferSource = native
type BuiltinShaderAttributeName = "position" | "normal" | "uv" | "color" | "skinIndex" | "skinWeight" | "instanceMatrix" | "morphTarget0" | "morphTarget1" | "morphTarget2" | "morphTarget3" | "morphTarget4" | "morphTarget5" | "morphTarget6" | "morphTarget7" | "morphNormal0" | "morphNormal1" | "morphNormal2" | "morphNormal3"
type ColorRepresentation = Color | String | Double
type DOMHighResTimeStamp = native
type DOMPointReadOnly = native
type ImageBitmap = native
type MediaStream = native
type MimeType = native
type PixelFormatGPU = "ALPHA" | "RGB" | "RGBA" | "LUMINANCE" | "LUMINANCE_ALPHA" | "RED_INTEGER" | "R8" | "R8_SNORM" | "R8I" | "R8UI" | "R16I" | "R16UI" | "R16F" | "R32I" | "R32UI" | "R32F" | "RG8" | "RG8_SNORM" | "RG8I" | "RG8UI" | "RG16I" | "RG16UI" | "RG16F" | "RG32I" | "RG32UI" | "RG32F" | "RGB565" | "RGB8" | "RGB8_SNORM" | "RGB8I" | "RGB8UI" | "RGB16I" | "RGB16UI" | "RGB16F" | "RGB32I" | "RGB32UI" | "RGB32F" | "RGB9_E5" | "SRGB8" | "R11F_G11F_B10F" | "RGBA4" | "RGBA8" | "RGBA8_SNORM" | "RGBA8I" | "RGBA8UI" | "RGBA16I" | "RGBA16UI" | "RGBA16F" | "RGBA32I" | "RGBA32UI" | "RGBA32F" | "RGB5_A1" | "RGB10_A2" | "RGB10_A2UI" | "SRGB8_ALPHA8" | "DEPTH_COMPONENT16" | "DEPTH_COMPONENT24" | "DEPTH_COMPONENT32F" | "DEPTH24_STENCIL8" | "DEPTH32F_STENCIL8"
type Record[K, V] = native
type WebGL2RenderingContext = native
type WebGLBuffer = native

Value members

Concrete fields

@native @JSImport("three", "ACESFilmicToneMapping")
@native @JSImport("three", "AddEquation")
@native @JSImport("three", "AddOperation")
@native @JSImport("three", "AdditiveAnimationBlendMode")
@native @JSImport("three", "AdditiveBlending")
@native @JSImport("three", "AlphaFormat")
@native @JSImport("three", "AlwaysDepth")
@native @JSImport("three", "AlwaysStencilFunc")
@native @JSImport("three", "BackSide")
@native @JSImport("three", "BasicDepthPacking")
@native @JSImport("three", "BasicShadowMap")
@native @JSImport("three", "ByteType")
@native @JSImport("three", "CineonToneMapping")
@native @JSImport("three", "ClampToEdgeWrapping")
@native @JSImport("three", "CubeReflectionMapping")
@native @JSImport("three", "CubeRefractionMapping")
@native @JSImport("three", "CubeUVReflectionMapping")
@native @JSImport("three", "CubeUVRefractionMapping")
@native @JSImport("three", "CullFaceBack")
@native @JSImport("three", "CullFaceFront")
@native @JSImport("three", "CullFaceFrontBack")
@native @JSImport("three", "CullFaceNone")
@native @JSImport("three", "CustomBlending")
@native @JSImport("three", "DecrementStencilOp")
@native @JSImport("three", "DecrementWrapStencilOp")
@native @JSImport("three", "DepthFormat")
@native @JSImport("three", "DepthStencilFormat")
@native @JSImport("three", "DoubleSide")
@native @JSImport("three", "DstAlphaFactor")
@native @JSImport("three", "DstColorFactor")
@native @JSImport("three", "DynamicCopyUsage")
@native @JSImport("three", "DynamicDrawUsage")
@native @JSImport("three", "DynamicReadUsage")
@native @JSImport("three", "EqualDepth")
@native @JSImport("three", "EqualStencilFunc")
@native @JSImport("three", "EquirectangularReflectionMapping")
@native @JSImport("three", "EquirectangularRefractionMapping")
@native @JSImport("three", "FlatShading")
@native @JSImport("three", "FloatType")
@native @JSImport("three", "FrontSide")
@native @JSImport("three", "GLSL1")
@native @JSImport("three", "GLSL3")
@native @JSImport("three", "GammaEncoding")
@native @JSImport("three", "GreaterDepth")
@native @JSImport("three", "GreaterEqualDepth")
@native @JSImport("three", "GreaterEqualStencilFunc")
@native @JSImport("three", "GreaterStencilFunc")
@native @JSImport("three", "HalfFloatType")
@native @JSImport("three", "IncrementStencilOp")
@native @JSImport("three", "IncrementWrapStencilOp")
@native @JSImport("three", "IntType")
@native @JSImport("three", "InterpolateDiscrete")
@native @JSImport("three", "InterpolateLinear")
@native @JSImport("three", "InterpolateSmooth")
@native @JSImport("three", "InvertStencilOp")
@native @JSImport("three", "KeepStencilOp")
@native @JSImport("three", "LessDepth")
@native @JSImport("three", "LessEqualDepth")
@native @JSImport("three", "LessEqualStencilFunc")
@native @JSImport("three", "LessStencilFunc")
@native @JSImport("three", "LinearEncoding")
@native @JSImport("three", "LinearFilter")
@native @JSImport("three", "LinearMipMapLinearFilter")
@native @JSImport("three", "LinearMipMapNearestFilter")
@native @JSImport("three", "LinearMipmapLinearFilter")
@native @JSImport("three", "LinearMipmapNearestFilter")
@native @JSImport("three", "LinearToneMapping")
@native @JSImport("three", "LogLuvEncoding")
@native @JSImport("three", "LoopOnce")
@native @JSImport("three", "LoopPingPong")
@native @JSImport("three", "LoopRepeat")
@native @JSImport("three", "LuminanceAlphaFormat")
@native @JSImport("three", "LuminanceFormat")
@native @JSImport("three", "MaxEquation")
@native @JSImport("three", "MinEquation")
@native @JSImport("three", "MirroredRepeatWrapping")
@native @JSImport("three", "MixOperation")
@native @JSImport("three", "MultiplyBlending")
@native @JSImport("three", "MultiplyOperation")
@native @JSImport("three", "NearestFilter")
@native @JSImport("three", "NearestMipMapLinearFilter")
@native @JSImport("three", "NearestMipMapNearestFilter")
@native @JSImport("three", "NearestMipmapLinearFilter")
@native @JSImport("three", "NearestMipmapNearestFilter")
@native @JSImport("three", "NeverDepth")
@native @JSImport("three", "NeverStencilFunc")
@native @JSImport("three", "NoBlending")
@native @JSImport("three", "NoToneMapping")
@native @JSImport("three", "NormalAnimationBlendMode")
@native @JSImport("three", "NormalBlending")
@native @JSImport("three", "NotEqualDepth")
@native @JSImport("three", "NotEqualStencilFunc")
@native @JSImport("three", "ObjectSpaceNormalMap")
@native @JSImport("three", "OneFactor")
@native @JSImport("three", "OneMinusDstAlphaFactor")
@native @JSImport("three", "OneMinusDstColorFactor")
@native @JSImport("three", "OneMinusSrcAlphaFactor")
@native @JSImport("three", "OneMinusSrcColorFactor")
@native @JSImport("three", "PCFShadowMap")
@native @JSImport("three", "PCFSoftShadowMap")
@native @JSImport("three", "REVISION")
val REVISION: String
@native @JSImport("three", "RGBADepthPacking")
@native @JSImport("three", "RGBAFormat")
@native @JSImport("three", "RGBAIntegerFormat")
@native @JSImport("three", "RGBA_ASTC_10x10_Format")
@native @JSImport("three", "RGBA_ASTC_10x5_Format")
@native @JSImport("three", "RGBA_ASTC_10x6_Format")
@native @JSImport("three", "RGBA_ASTC_10x8_Format")
@native @JSImport("three", "RGBA_ASTC_12x10_Format")
@native @JSImport("three", "RGBA_ASTC_12x12_Format")
@native @JSImport("three", "RGBA_ASTC_4x4_Format")
@native @JSImport("three", "RGBA_ASTC_5x4_Format")
@native @JSImport("three", "RGBA_ASTC_5x5_Format")
@native @JSImport("three", "RGBA_ASTC_6x5_Format")
@native @JSImport("three", "RGBA_ASTC_6x6_Format")
@native @JSImport("three", "RGBA_ASTC_8x5_Format")
@native @JSImport("three", "RGBA_ASTC_8x6_Format")
@native @JSImport("three", "RGBA_ASTC_8x8_Format")
@native @JSImport("three", "RGBA_BPTC_Format")
@native @JSImport("three", "RGBA_ETC2_EAC_Format")
@native @JSImport("three", "RGBA_PVRTC_2BPPV1_Format")
@native @JSImport("three", "RGBA_PVRTC_4BPPV1_Format")
@native @JSImport("three", "RGBA_S3TC_DXT1_Format")
@native @JSImport("three", "RGBA_S3TC_DXT3_Format")
@native @JSImport("three", "RGBA_S3TC_DXT5_Format")
@native @JSImport("three", "RGBDEncoding")
@native @JSImport("three", "RGBEEncoding")
@native @JSImport("three", "RGBEFormat")
@native @JSImport("three", "RGBFormat")
@native @JSImport("three", "RGBIntegerFormat")
@native @JSImport("three", "RGBM16Encoding")
@native @JSImport("three", "RGBM7Encoding")
@native @JSImport("three", "RGB_ETC1_Format")
@native @JSImport("three", "RGB_ETC2_Format")
@native @JSImport("three", "RGB_PVRTC_2BPPV1_Format")
@native @JSImport("three", "RGB_PVRTC_4BPPV1_Format")
@native @JSImport("three", "RGB_S3TC_DXT1_Format")
@native @JSImport("three", "RGFormat")
@native @JSImport("three", "RGIntegerFormat")
@native @JSImport("three", "RedFormat")
@native @JSImport("three", "RedIntegerFormat")
@native @JSImport("three", "ReinhardToneMapping")
@native @JSImport("three", "RepeatWrapping")
@native @JSImport("three", "ReplaceStencilOp")
@native @JSImport("three", "ReverseSubtractEquation")
@native @JSImport("three", "SRGB8_ALPHA8_ASTC_10x10_Format")
@native @JSImport("three", "SRGB8_ALPHA8_ASTC_10x5_Format")
@native @JSImport("three", "SRGB8_ALPHA8_ASTC_10x6_Format")
@native @JSImport("three", "SRGB8_ALPHA8_ASTC_10x8_Format")
@native @JSImport("three", "SRGB8_ALPHA8_ASTC_12x10_Format")
@native @JSImport("three", "SRGB8_ALPHA8_ASTC_12x12_Format")
@native @JSImport("three", "SRGB8_ALPHA8_ASTC_4x4_Format")
@native @JSImport("three", "SRGB8_ALPHA8_ASTC_5x4_Format")
@native @JSImport("three", "SRGB8_ALPHA8_ASTC_5x5_Format")
@native @JSImport("three", "SRGB8_ALPHA8_ASTC_6x5_Format")
@native @JSImport("three", "SRGB8_ALPHA8_ASTC_6x6_Format")
@native @JSImport("three", "SRGB8_ALPHA8_ASTC_8x5_Format")
@native @JSImport("three", "SRGB8_ALPHA8_ASTC_8x6_Format")
@native @JSImport("three", "SRGB8_ALPHA8_ASTC_8x8_Format")
@native @JSImport("three", "ShortType")
@native @JSImport("three", "SmoothShading")
@native @JSImport("three", "SrcAlphaFactor")
@native @JSImport("three", "SrcAlphaSaturateFactor")
@native @JSImport("three", "SrcColorFactor")
@native @JSImport("three", "StaticCopyUsage")
@native @JSImport("three", "StaticDrawUsage")
@native @JSImport("three", "StaticReadUsage")
@native @JSImport("three", "StreamCopyUsage")
@native @JSImport("three", "StreamDrawUsage")
@native @JSImport("three", "StreamReadUsage")
@native @JSImport("three", "SubtractEquation")
@native @JSImport("three", "SubtractiveBlending")
@native @JSImport("three", "TangentSpaceNormalMap")
@native @JSImport("three", "TriangleFanDrawMode")
@native @JSImport("three", "TriangleStripDrawMode")
@native @JSImport("three", "TrianglesDrawMode")
@native @JSImport("three", "UVMapping")
@native @JSImport("three", "UnsignedByteType")
@native @JSImport("three", "UnsignedInt248Type")
@native @JSImport("three", "UnsignedIntType")
@native @JSImport("three", "UnsignedShort4444Type")
@native @JSImport("three", "UnsignedShort5551Type")
@native @JSImport("three", "UnsignedShort565Type")
@native @JSImport("three", "UnsignedShortType")
@native @JSImport("three", "VSMShadowMap")
@native @JSImport("three", "WrapAroundEnding")
@native @JSImport("three", "ZeroCurvatureEnding")
@native @JSImport("three", "ZeroFactor")
@native @JSImport("three", "ZeroSlopeEnding")
@native @JSImport("three", "ZeroStencilOp")
@native @JSImport("three", "sRGBEncoding")