Texture class

class Texture

Inheritance
Implementers
Annotations
  • @JS()

Constructors

Texture()
Texture.args(String url, dynamic sceneOrEngine, [bool noMipmap, bool invertY, num samplingMode, void onLoad(), void onError(String message, dynamic exception), dynamic buffer, bool deleteBuffer, num format, String mimeType, dynamic loaderOptions])

Properties

animations List<Animation>
getter/setter pairinherited
anisotropicFilteringLevel num
getter/setter pairinherited
canRescale bool
no setterinherited
coordinatesIndex num
getter/setter pairinherited
coordinatesMode num
getter/setter pairinherited
delayLoadState num
getter/setter pairinherited
gammaSpace bool
getter/setter pairinherited
getAlphaFromRGB bool
getter/setter pairinherited
hasAlpha bool
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
homogeneousRotationInUVTransform bool
getter/setter pair
inspectableCustomProperties List<IInspectable>
getter/setter pair
invertY bool
no setter
invertZ bool
getter/setter pairinherited
irradianceTexture BaseTexture
getter/setter pairinherited
is2DArray bool
getter/setter pairinherited
is3D bool
getter/setter pairinherited
isBlocking bool
getter/setter pairoverride-getter
isCube bool
getter/setter pairinherited
isRenderTarget bool
getter/setter pairinherited
isRGBD bool
getter/setter pairinherited
level num
getter/setter pairinherited
linearSpecularLOD bool
getter/setter pairinherited
lodGenerationOffset num
getter/setter pairinherited
lodGenerationScale num
getter/setter pairinherited
lodLevelInAlpha bool
getter/setter pairinherited
metadata ↔ dynamic
getter/setter pairinherited
mimeType → dynamic
no setter
name String
getter/setter pairinherited
noMipmap bool
no setteroverride
onDispose ← void Function()
no getterinherited
onDisposeObservable Observable<BaseTexture>
getter/setter pairinherited
onLoadObservable Observable<Texture>
getter/setter pair
reservedDataStore ↔ dynamic
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
samplingMode num
no setter
sphericalPolynomial SphericalPolynomial
getter/setter pairinherited
textureFormat num
no setterinherited
textureType num
no setterinherited
uAng num
getter/setter pair
uid String
no setterinherited
uniqueId num
getter/setter pairinherited
uOffset num
getter/setter pair
url String
getter/setter pair
uRotationCenter num
getter/setter pair
uScale num
getter/setter pair
vAng num
getter/setter pair
vOffset num
getter/setter pair
vRotationCenter num
getter/setter pair
vScale num
getter/setter pair
wAng num
getter/setter pair
wrapR num
getter/setter pairinherited
wrapU num
getter/setter pairinherited
wrapV num
getter/setter pairinherited
wRotationCenter num
getter/setter pair

Methods

checkTransformsAreIdentical(BaseTexture texture) bool
override
clone() Texture
override
delayLoad() → void
override
dispose() → void
override
getBaseSize() ISize
inherited
getClassName() String
override
getInternalTexture() InternalTexture
inherited
getReflectionTextureMatrix() Matrix
override
getScene() Scene
inherited
getSize() ISize
inherited
getTextureMatrix() Matrix
override
isReady() bool
inherited
isReadyOrNotBlocking() bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readPixels([num faceIndex, num level, List buffer]) List
inherited
releaseInternalTexture() → void
inherited
scale(num ratio) → void
inherited
serialize() → dynamic
override
toString() String
A string representation of this object.
inherited
updateSamplingMode(num samplingMode) → void
inherited
updateURL(String url, [dynamic buffer, void onLoad()]) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

BILINEAR_SAMPLINGMODE num
no setter
CLAMP_ADDRESSMODE num
no setter
CUBIC_MODE num
no setter
EQUIRECTANGULAR_MODE num
no setter
EXPLICIT_MODE num
no setter
FIXED_EQUIRECTANGULAR_MIRRORED_MODE num
no setter
FIXED_EQUIRECTANGULAR_MODE num
no setter
ForceSerializeBuffers bool
getter/setter pair
INVCUBIC_MODE num
no setter
LINEAR_LINEAR num
no setter
LINEAR_LINEAR_MIPLINEAR num
no setter
LINEAR_LINEAR_MIPNEAREST num
no setter
LINEAR_NEAREST num
no setter
LINEAR_NEAREST_MIPLINEAR num
no setter
LINEAR_NEAREST_MIPNEAREST num
no setter
MIRROR_ADDRESSMODE num
no setter
NEAREST_LINEAR num
no setter
NEAREST_LINEAR_MIPLINEAR num
no setter
NEAREST_LINEAR_MIPNEAREST num
no setter
NEAREST_NEAREST num
no setter
NEAREST_NEAREST_MIPLINEAR num
no setter
NEAREST_NEAREST_MIPNEAREST num
no setter
NEAREST_SAMPLINGMODE num
no setter
PLANAR_MODE num
no setter
PROJECTION_MODE num
no setter
SerializeBuffers bool
getter/setter pair
SKYBOX_MODE num
no setter
SPHERICAL_MODE num
no setter
TRILINEAR_SAMPLINGMODE num
no setter
UseSerializedUrlIfAny bool
getter/setter pair
WRAP_ADDRESSMODE num
no setter

Static Methods

CreateFromBase64String(String data, String name, Scene scene, [bool noMipmap, bool invertY, num samplingMode, void onLoad(), void onError(), num format]) Texture
LoadFromDataString(String name, dynamic buffer, Scene scene, [bool deleteBuffer, bool noMipmap, bool invertY, num samplingMode, void onLoad(), void onError(String message, dynamic exception), num format]) Texture
Parse(dynamic parsedTexture, Scene scene, String rootUrl) BaseTexture