Creates an instance of abstract texture component.
Object attr of abstract subscribe component
The base attribute can be fine without re-make Texture
Change list of abstract subscribe component
Need update of abstract subscribe component
The number of samples taken along the axis through the pixel that has the highest density of texels. By default, this value is 1. A higher value gives a less blurry result than a basic mipmap, at the cost of more texture samples being used. Use renderer.getMaxAnisotropy() to find the maximum valid anisotropy value for the GPU; this value is usually a power of 2.
The point around which rotation occurs. A value of (0.5, 0.5) corresponds to the center of the texture. Default is (0, 0), the lower left.
The default value of centerX, centerY
The point around which rotation occurs. A value of (0.5, 0.5) corresponds to the center of the texture. Default is (0, 0), the lower left.
The value of center.x
The point around which rotation occurs. A value of (0.5, 0.5) corresponds to the center of the texture. Default is (0, 0), the lower left.
The value of center.y
The CubeType of Texture -
Notice - case insensitive.
The data of DataTexture
This must correspond to the .format. The default is THREE.UnsignedByteType, which will be used for most texture formats. See the texture constants page for details of other formats.
Three Type | Value String(case insensitive) |
---|---|
THREE.UnsignedByteType | UnsignedByteType , UnsignedByte, |
THREE.ByteType | ByteType , Byte |
THREE.ShortType | ShortType , Short |
THREE.UnsignedShortType | UnsignedShortType , UnsignedShort |
THREE.IntType | IntType , Int |
THREE.UnsignedIntType | UnsignedIntType , UnsignedInt |
THREE.FloatType | FloatType , Float |
THREE.HalfFloatType | HalfFloatType , HalfFloat |
THREE.UnsignedShort4444Type | UnsignedShort4444Type , UnsignedShort4444 |
THREE.UnsignedShort5551Type | UnsignedShort5551Type , UnsignedShort5551 |
THREE.UnsignedShort565Type | UnsignedShort565Type , UnsignedShort565 |
THREE.UnsignedInt248Type | UnsignedInt248Type , UnsignedInt248 |
Debug this Object
depth of the texture.
Enabled or Not
THREE.LinearEncoding is the default. See the texture constants page for details of other formats. Note that if this value is changed on a texture after the material has been used, it is necessary to trigger a Material.needsUpdate for this value to be realized in the shader.
Three Type | Value String(case insensitive) |
---|---|
THREE.LinearEncoding | LinearEncoding , |
THREE.sRGBEncoding | sRGBEncoding , |
THREE.GammaEncoding | GammaEncoding , |
THREE.RGBEEncoding | RGBEEncoding , |
THREE.LogLuvEncoding | LogLuvEncoding , |
THREE.RGBM7Encoding | RGBM7Encoding , |
THREE.RGBM16Encoding | RGBM16Encoding , |
THREE.RGBDEncoding | RGBDEncoding , |
The Default Value of magFilter, minFilter
Three Type | Value String(case insensitive) |
---|---|
THREE.NearestFilter | NearestFilter, Nearest |
THREE.NearestMipmapNearestFilter | NearestMipmapNearestFilter, nearestmipmapnearest |
THREE.NearestMipmapLinearFilter | NearestMipmapLinearFilter, nearestmipmaplinear |
THREE.LinearMipmapNearestFilter | LinearMipmapNearestFilter, linearmipmapnearest |
THREE.LinearMipmapLinearFilter | LinearMipmapLinearFilter, linearmipmaplinear |
THREE.LinearFilter | Linearfilter, linear |
If set to true, the texture is flipped along the vertical axis when uploaded to the GPU. Default is true. Note that this property has no effect for ImageBitmap. You need to configure on bitmap creation instead. See ImageBitmapLoader.
The default is THREE.RGBAFormat, although the TextureLoader will automatically set this to THREE.RGBFormat for JPG images. See the texture constants page for details of other formats.
Three Type | Value String(case insensitive) |
---|---|
THREE.AlphaFormat | AlphaFormat, Alpha |
THREE.RedFormat | RedFormat, Red |
THREE.RedIntegerFormat | RedIntegerFormat, RedInteger |
THREE.RGFormat | RGFormat, RG |
THREE.RGIntegerFormat | RGIntegerFormat, RGInteger |
THREE.RGBFormat | RGBFormat, RGB |
THREE.RGBIntegerFormat | RGBIntegerFormat, RGBInteger |
THREE.RGBAIntegerFormat | RGBAIntegerFormat, RGBAInteger |
THREE.LuminanceFormat | LuminanceFormat, Luminance |
THREE.LuminanceAlphaFormat | LuminanceAlphaFormat, LuminanceAlpha |
THREE.RGBEFormat | RGBEFormat, RGBE |
THREE.DepthFormat | DepthFormat, Depth |
THREE.DepthStencilFormat | DepthStencilFormat, DepthStencil |
THREE.RGBAFormat | RGBAFormat, RGBA |
Whether to generate mipmaps (if possible) for a texture. True by default. Set this to false if you are creating mipmaps manually.
height of the texture.
The Id of abstract subscribe component
The LoadType of Texture - video, image etc hdrcube, hdrcubetexture - rgbm, rgbmtexture auto video imagebitmap image texture, texture2d, texture3d datatexture, datatexture2d, datatexture3d
Notice - case insensitive.
How the texture is sampled when a texel covers more than one pixel. The default is THREE.LinearFilter, which takes the four closest texels and bilinearly interpolates among them. The other option is THREE.NearestFilter, which uses the value of the closest texel. See the texture constants page for details.
Three Type | Value String(case insensitive) |
---|---|
THREE.NearestFilter | NearestFilter, Nearest |
THREE.NearestMipmapNearestFilter | NearestMipmapNearestFilter, nearestmipmapnearest |
THREE.NearestMipmapLinearFilter | NearestMipmapLinearFilter, nearestmipmaplinear |
THREE.LinearMipmapNearestFilter | LinearMipmapNearestFilter, linearmipmapnearest |
THREE.LinearMipmapLinearFilter | LinearMipmapLinearFilter, linearmipmaplinear |
THREE.LinearFilter | Linearfilter, linear |
How the image is applied to the object. An object type of THREE.UVMapping is the default, where the U,V coordinates are used to apply the map. See the texture constants page for other mapping types.
Three Type | Value String(case insensitive) |
---|---|
THREE.UVMapping | UVMapping, uv |
THREE.CubeReflectionMapping | CubeReflectionMapping, cubereflection |
THREE.CubeRefractionMapping | CubeRefractionMapping, cuberefraction |
THREE.EquirectangularReflectionMapping | EquirectangularReflectionMapping, equirectangularreflection |
THREE.EquirectangularRefractionMapping | EquirectangularRefractionMapping, equirectangularrefraction |
THREE.CubeUVReflectionMapping | CubeUVReflectionMapping, cubeuvreflection |
THREE.CubeUVRefractionMapping | CubeUVRefractionMapping, cubeuvrefraction |
THREE.Texture.DEFAULT_MAPPING | default |
How the texture is sampled when a texel covers less than one pixel. The default is THREE.LinearMipmapLinearFilter, which uses mipmapping and a trilinear filter. See the texture constants page for all possible choices.
Three Type | Value String(case insensitive) |
---|---|
THREE.NearestFilter | NearestFilter, Nearest |
THREE.NearestMipmapNearestFilter | NearestMipmapNearestFilter, nearestmipmapnearest |
THREE.NearestMipmapLinearFilter | NearestMipmapLinearFilter, nearestmipmaplinear |
THREE.LinearMipmapNearestFilter | LinearMipmapNearestFilter, linearmipmapnearest |
THREE.LinearMipmapLinearFilter | LinearMipmapLinearFilter, linearmipmaplinear |
THREE.LinearFilter | Linearfilter, linear |
The name of the object (doesn't need to be unique). Default is an empty string.
How much a single repetition of the texture is offset from the beginning, in each direction U and V. Typical range is 0.0 to 1.0.
The default value of offsetX, offsetY
How much a single repetition of the texture is offset from the beginning, in each direction U and V. Typical range is 0.0 to 1.0.
The value of offset.x
How much a single repetition of the texture is offset from the beginning, in each direction U and V. Typical range is 0.0 to 1.0.
The value of offset.y
Will be called when before destory. The argument will be the loaded self
Will be called when load completes. The argument will be the loaded self
The override params
The Parent of abstract subscribe component
If set to true, the alpha channel, if present, is multiplied into the color channels when the texture is uploaded to the GPU. Default is false. Note that this property has no effect for ImageBitmap. You need to configure on bitmap creation instead. See ImageBitmapLoader.
The texture program mipmaps
The texture program params
The refName of geometry component
How many times the texture is repeated across the surface, in each direction U and V. If repeat is set greater than 1 in either direction, the corresponding Wrap parameter should also be set to THREE.RepeatWrapping or THREE.MirroredRepeatWrapping to achieve the desired tiling effect. Setting different repeat values for textures is restricted in the same way like Texture.offset.
The default value of repeatX , repeatY
How many times the texture is repeated across the surface, in each direction U and V. If repeat is set greater than 1 in either direction, the corresponding Wrap parameter should also be set to THREE.RepeatWrapping or THREE.MirroredRepeatWrapping to achieve the desired tiling effect. Setting different repeat values for textures is restricted in the same way like Texture.offset.
The value of repeat.x
How many times the texture is repeated across the surface, in each direction U and V. If repeat is set greater than 1 in either direction, the corresponding Wrap parameter should also be set to THREE.RepeatWrapping or THREE.MirroredRepeatWrapping to achieve the desired tiling effect. Setting different repeat values for textures is restricted in the same way like Texture.offset.
The value of repeat.y
How much the texture is rotated around the center point, in radians. Positive values are counter-clockwise. Default is 0.
scale of the texture.
Subscribe type of abstract subscribe component
The Texture param use when call Canvas Program.
The Texture of abstract texture component
Tween animation params
The Type of Texture of Matrial
4 by default. Specifies the alignment requirements for the start of each pixel row in memory. The allowable values are 1 (byte-alignment), 2 (rows aligned to even-numbered bytes), 4 (word-alignment), and 8 (rows start on double-word boundaries). See glPixelStorei for more information.
An object that can be used to store custom data about the Object3D. It should not hold references to functions as these will not be cloned.
width of the texture.
Export this Object to window global variables
This defines how the texture is wrapped horizontally and corresponds to U in UV mapping. The default is THREE.ClampToEdgeWrapping, where the edge is clamped to the outer edge texels. The other two choices are THREE.RepeatWrapping and THREE.MirroredRepeatWrapping. See the texture constants page for details.
The Default Value of wrapS, wrapT.
Three Type | Value String(case insensitive) |
---|---|
THREE.RepeatWrapping | RepeatWrapping, wraprepeat, repeat |
THREE.MirroredRepeatWrapping | MirroredRepeatWrapping, mirroredrepeat |
THREE.ClampToEdgeWrapping | ClampToEdgeWrapping, clamptoedge |
This defines how the texture is wrapped horizontally and corresponds to U in UV mapping. The default is THREE.ClampToEdgeWrapping, where the edge is clamped to the outer edge texels. The other two choices are THREE.RepeatWrapping and THREE.MirroredRepeatWrapping. See the texture constants page for details.
Three Type | Value String(case insensitive) |
---|---|
THREE.RepeatWrapping | RepeatWrapping, wraprepeat, repeat |
THREE.MirroredRepeatWrapping | MirroredRepeatWrapping, mirroredrepeat |
THREE.ClampToEdgeWrapping | ClampToEdgeWrapping, clamptoedge |
This defines how the texture is wrapped vertically and corresponds to V in UV mapping. The same choices are available as for [property:number wrapS]. NOTE: tiling of images in textures only functions if image dimensions are powers of two (2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, ...) in terms of pixels. Individual dimensions need not be equal, but each must be a power of two. This is a limitation of WebGL, not three.js.
Three Type | Value String(case insensitive) |
---|---|
THREE.RepeatWrapping | RepeatWrapping, wraprepeat, repeat |
THREE.MirroredRepeatWrapping | MirroredRepeatWrapping, mirroredrepeat |
THREE.ClampToEdgeWrapping | ClampToEdgeWrapping, clamptoedge |
Sets need update
Adds changes
Applys changes
Calls on load
Checks changes
changes
Clears changes
Consoles log
Consoles log time
Destroys local component
Disposes abstract subscribe component
Gets changes
changes
Gets id
id
Gets object
object
Gets subscribe
subscribe
Gets texture image
texture image
Gets texture options
texture options
Gets timeout 특정 시간후에 이벤트 발생시키기
timeout
Gets user data
Inits local component
local component
Determines whether id euals is
true if id euals
Determines whether texture is
true if texture
A callback method that is invoked immediately after Angular has completed initialization of all of the directive's content. It is invoked only once when the directive is instantiated.
A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated. default change detector has checked data-bound properties if at least one has changed, and before the view and content children are checked.
The changed properties.
A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.
A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.
Resets tween
Runs subscribe next
Sets material
Sets object
Sets parent
true if parent
Sets refer texture
Sets subscribe next
Sets subscribe type
Sets tween
Sets tween target
Sets user data
Subscribes list query
Subscribes list query change
Subscribes refer
Subscribes refer list
subscribe refer
subscribe refer list
subscription
subscription
unSets object3d
Updates input params
Gets texture image
texture image
Sets texture options
texture options
Generated using TypeDoc
The Abstract Texture component.
See the ngx3js docs page for details.
THREE.Texture