|
@@ -21,6 +21,20 @@
|
|
THREE.CubeUVReflectionMapping
|
|
THREE.CubeUVReflectionMapping
|
|
THREE.CubeUVRefractionMapping
|
|
THREE.CubeUVRefractionMapping
|
|
</code>
|
|
</code>
|
|
|
|
+ <div>
|
|
|
|
+ These can also be accessed using:
|
|
|
|
+ </div>
|
|
|
|
+ <code>
|
|
|
|
+ THREE.TextureMappingUVMapping
|
|
|
|
+ THREE.TextureMapping.CubeReflectionMapping
|
|
|
|
+ THREE.TextureMapping.CubeRefractionMapping
|
|
|
|
+ THREE.TextureMapping.EquirectangularReflectionMapping
|
|
|
|
+ THREE.TextureMapping.EquirectangularRefractionMapping
|
|
|
|
+ THREE.TextureMapping.SphericalReflectionMapping
|
|
|
|
+ THREE.TextureMapping.CubeUVReflectionMapping
|
|
|
|
+ THREE.TextureMapping.CubeUVRefractionMapping
|
|
|
|
+ </code>
|
|
|
|
+
|
|
<div>
|
|
<div>
|
|
These define the texture's mapping mode.<br />
|
|
These define the texture's mapping mode.<br />
|
|
[page:Constant UVMapping] is the default, and maps the texture using the mesh's UV coordinates.<br /><br />
|
|
[page:Constant UVMapping] is the default, and maps the texture using the mesh's UV coordinates.<br /><br />
|
|
@@ -46,6 +60,14 @@
|
|
THREE.ClampToEdgeWrapping
|
|
THREE.ClampToEdgeWrapping
|
|
THREE.MirroredRepeatWrapping
|
|
THREE.MirroredRepeatWrapping
|
|
</code>
|
|
</code>
|
|
|
|
+ <div>
|
|
|
|
+ These can also be accessed using:
|
|
|
|
+ </div>
|
|
|
|
+ <code>
|
|
|
|
+ THREE.TextureWrapping.RepeatWrapping
|
|
|
|
+ THREE.TextureWrapping.ClampToEdgeWrapping
|
|
|
|
+ THREE.TextureWrapping.MirroredRepeatWrapping
|
|
|
|
+ </code>
|
|
<div>
|
|
<div>
|
|
These define the texture's [page:Texture.wrapS wrapS] and [page:Texture.wrapT wrapT] properties,
|
|
These define the texture's [page:Texture.wrapS wrapS] and [page:Texture.wrapT wrapT] properties,
|
|
which define horizontal and vertical texture wrapping.<br /><br />
|
|
which define horizontal and vertical texture wrapping.<br /><br />
|
|
@@ -63,6 +85,14 @@
|
|
THREE.NearestFilter
|
|
THREE.NearestFilter
|
|
THREE.LinearFilter
|
|
THREE.LinearFilter
|
|
</code>
|
|
</code>
|
|
|
|
+ <div>
|
|
|
|
+ These can also be accessed using:
|
|
|
|
+ </div>
|
|
|
|
+ <code>
|
|
|
|
+ THREE.TextureFilter.NearestFilter
|
|
|
|
+ THREE.TextureFilter.LinearFilter
|
|
|
|
+ </code>
|
|
|
|
+
|
|
<div>
|
|
<div>
|
|
For use with a texture's [page:Texture.magFilter magFilter] property,
|
|
For use with a texture's [page:Texture.magFilter magFilter] property,
|
|
these define the texture magnification function to be used when the pixel being textured maps to an
|
|
these define the texture magnification function to be used when the pixel being textured maps to an
|
|
@@ -86,6 +116,18 @@
|
|
THREE.LinearMipMapNearestFilter
|
|
THREE.LinearMipMapNearestFilter
|
|
THREE.LinearMipMapLinearFilter
|
|
THREE.LinearMipMapLinearFilter
|
|
</code>
|
|
</code>
|
|
|
|
+ <div>
|
|
|
|
+ These can also be accessed using:
|
|
|
|
+ </div>
|
|
|
|
+ <code>
|
|
|
|
+ THREE.TextureFilter.NearestFilter
|
|
|
|
+ THREE.TextureFilter.NearestMipMapNearestFilter
|
|
|
|
+ THREE.TextureFilter.NearestMipMapLinearFilter
|
|
|
|
+ THREE.TextureFilter.LinearFilter
|
|
|
|
+ THREE.TextureFilter.LinearMipMapNearestFilter
|
|
|
|
+ THREE.TextureFilter.LinearMipMapLinearFilter
|
|
|
|
+ </code>
|
|
|
|
+
|
|
<div>
|
|
<div>
|
|
For use with a texture's [page:Texture.minFilter minFilter] property, these define
|
|
For use with a texture's [page:Texture.minFilter minFilter] property, these define
|
|
the texture minifying function that is used whenever the pixel being textured maps
|
|
the texture minifying function that is used whenever the pixel being textured maps
|