class WebGLRenderer extends Object
- Annotations
- @JSType() @native() @JSImport("three", "WebGLRenderer", "Three.WebGLRenderer")
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- WebGLRenderer
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new WebGLRenderer(parameters: WebGLRendererParameters = js.native)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addPostPlugin(plugin: RendererPlugin): Unit
- def addPrePlugin(plugin: RendererPlugin): Unit
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- var autoClear: Boolean
- var autoClearColor: Boolean
- var autoClearDepth: Boolean
- var autoClearStencil: Boolean
- var autoScaleCubemaps: Boolean
- def clear(color: Boolean = js.native, depth: Boolean = js.native, stencil: Boolean = js.native): Unit
- def clearColor(): Unit
- def clearDepth(): Unit
- def clearStencil(): Unit
- def clearTarget(renderTarget: WebGLRenderTarget, color: Boolean, depth: Boolean, stencil: Boolean): Unit
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- var context: Any
- var devicePixelRatio: Double
- var domElement: HTMLCanvasElement
- def enableScissorTest(enable: Boolean): Unit
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- var gammaInput: Boolean
- var gammaOutput: Boolean
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getClearAlpha(): Double
- def getClearColor(): Color
- def getContext(): WebGLRenderingContext
- def getMaxAnisotropy(): Double
- def getPrecision(): String
- def hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- var info: Any
- def initMaterial(material: Material, lights: Array[Light], fog: Fog, object: Object3D): Unit
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- var maxMorphNormals: Double
- var maxMorphTargets: Double
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
- def render(scene: Scene, camera: Camera, renderTarget: RenderTarget = js.native, forceClear: Boolean = js.native): Unit
- def render(scene: Scene, camera: Camera): Unit
- def renderBuffer(camera: Camera, lights: Array[Light], fog: Fog, material: Material, geometryGroup: Any, object: Object3D): Unit
- def renderBufferDirect(camera: Camera, lights: Array[Light], fog: Fog, material: Material, geometryGroup: Any, object: Object3D): Unit
- def renderBufferImmediate(object: Object3D, program: AnyRef, material: Material): Unit
- def renderImmediateObject(camera: Camera, lights: Array[Light], fog: Fog, material: Material, object: Object3D): Unit
- var renderPluginsPost: Array[RendererPlugin]
- var renderPluginsPre: Array[RendererPlugin]
- def setBlending(blending: Blending, blendEquation: BlendingEquation, blendSrc: BlendingSrcFactor, blendDst: BlendingDstFactor): Unit
- def setClearColor(color: Color, alpha: Double = js.native): Unit
- def setClearColorHex(hex: Double, alpha: Double): Unit
- def setDepthTest(depthTest: Boolean): Unit
- def setDepthWrite(depthWrite: Boolean): Unit
- def setFaceCulling(cullFace: CullFace = js.native, frontFace: FrontFaceDirection = js.native): Unit
- def setMaterialFaces(material: Material): Unit
- def setRenderTarget(renderTarget: RenderTarget): Unit
- def setScissor(x: Double, y: Double, width: Double, height: Double): Unit
- def setSize(width: Double, height: Double, updateStyle: Boolean = js.native): Unit
- def setTexture(texture: Texture, slot: Double): Unit
- def setViewport(x: Double = js.native, y: Double = js.native, width: Double = js.native, height: Double = js.native): Unit
- var shadowMapAutoUpdate: Boolean
- var shadowMapCascade: Boolean
- var shadowMapCullFace: CullFace
- var shadowMapDebug: Boolean
- var shadowMapEnabled: Boolean
- var shadowMapPlugin: ShadowMapPlugin
- var shadowMapType: ShadowMapType
- var sortObjects: Boolean
- def supportsCompressedTextureS3TC(): Boolean
- def supportsFloatTextures(): Boolean
- def supportsStandardDerivatives(): Boolean
- def supportsVertexTextures(): Boolean
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toLocaleString(): String
- Definition Classes
- Object
- def toString(): String
- Definition Classes
- AnyRef → Any
- def updateShadowMap(scene: Scene, camera: Camera): Unit
- def valueOf(): Any
- Definition Classes
- Object
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()