TextureWrap

public class
loom2d.textures.TextureWrap

Description

A static class that provides constant values for the possible wrapping modes of a texture.

API overview

Constructor

TextureWrap ()

Attributes

Public attributes

defaultWrap: Number static

The default wrap mode for new textures, this can be modified to set a new global smoothing mode

Constants

Constants

CLAMP: Number static

Clamp the texture to the 0-1 UV range

MIRROR: Number static

Mirror the texture across outside of the 0-1 UV range

REPEAT: Number static

Repeat the texture across outside of the 0-1 UV range

Functions

Public functions

Constructor

TextureWrap ()

Attributes

defaultWrap: Number

static

The default wrap mode for new textures, this can be modified to set a new global smoothing mode

Constants

CLAMP: Number

static

Clamp the texture to the 0-1 UV range

MIRROR: Number

static

Mirror the texture across outside of the 0-1 UV range

REPEAT: Number

static

Repeat the texture across outside of the 0-1 UV range

Functions

getFullTypeName (): String
Inherited from Object

native

Gets the fully qualified type name of the Object. The fully qualified type name includes the package of the type.


Returns

String fully qualified type name of the Object.

getType (): Type
Inherited from Object

native

Gets the Type that describes the Object.


Returns

Type The Type that describes the object.

getTypeName (): String
Inherited from Object

native

Gets the type name of the Object.


Returns

String type name of the Object.

toString (): String
Inherited from Object

native

Returns a String that describes the Object. This can be overriden to provide extra details when printing objects using trace().


Returns

String String that described the Object.

: