Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TextureContainer

Hierarchy

  • Component
    • TextureContainer

Index

Constructors

constructor

  • Returns TextureContainer

Properties

attributes

attributes: NSDictionary<Attribute>

Attributes managed by this component

type

{NSDictionary}

companion

companion: NSDictionary<any>

The dictionary which is shared in entire tree.

returns

[description]

disposed

disposed: boolean

element

element: Element

XMLElement of this component

type

{Element}

enabled

enabled: boolean

id

id: string

ID related to this instance to identify.

isActive

isActive: boolean

isDefaultComponent

isDefaultComponent: boolean

Whether this component was created by nodeDeclaration

type

{boolean}

name

name: NSIdentity

Name of this component

type

{NSIdentity}

node

node: GomlNode

Node this component is attached

type

{GomlNode}

texture

texture: Texture2D

tree

tree: GomlInterface

Tree interface for the tree this node is attached.

returns

[description]

Methods

$mount

  • $mount(): void

$unmount

  • $unmount(): void

Protected ___addAtribute

  • ___addAtribute(name: string, attribute: IAttributeDeclaration): void
  • Parameters

    • name: string
    • attribute: IAttributeDeclaration

    Returns void

Protected ___addAttribute

  • ___addAttribute(name: string, attribute: IAttributeDeclaration): Attribute
  • Add additional attribute to this component.

    Parameters

    • name: string
    • attribute: IAttributeDeclaration

    Returns Attribute

Protected ___bindAttributes

  • ___bindAttributes(): void
  • Returns void

Protected ___removeAttributes

  • ___removeAttributes(name?: string): void
  • Parameters

    • Optional name: string

    Returns void

addEnabledObserver

  • addEnabledObserver(observer: function): void
  • Parameters

    • observer: function
        • (component: Component): void
        • Parameters

          • component: Component

          Returns void

    Returns void

awake

  • awake(): boolean
  • Returns boolean

dispose

  • dispose(): void
  • Returns void

getAttribute

  • getAttribute(name: Name): any
  • Parameters

    • name: Name

    Returns any

getAttributeRaw

  • getAttributeRaw(name: Name): Attribute
  • Parameters

    • name: Name

    Returns Attribute

getTypeName

  • getTypeName(): string
  • Obtain class name

    Returns string

    Class name of the instance.

initialized

  • initialized(info: ITreeInitializedInfo): void
  • Parameters

    • info: ITreeInitializedInfo

    Returns void

removeEnabledObserver

  • removeEnabledObserver(observer: function): boolean
  • Parameters

    • observer: function
        • (component: Component): void
        • Parameters

          • component: Component

          Returns void

    Returns boolean

resolveDefaultAttributes

  • resolveDefaultAttributes(nodeAttributes?: object | null): any
  • Parameters

    • Optional nodeAttributes: object | null

    Returns any

setAttribute

  • setAttribute(name: Name, value: any): void
  • Set value of attribute

    Parameters

    • name: Name
    • value: any

    Returns void

toString

  • toString(): string
  • Obtain stringfied object. If this method was not overridden, this method return class name.

    Returns string

    stringfied object

Static getUniqueRandom

  • getUniqueRandom(length: number): string
  • Generate random string

    Parameters

    • length: number

      length of random string

    Returns string

    generated string

Object literals

Static attributes

attributes: object

magFilter

magFilter: object

converter

converter: string = "Enum"

default

default: string = "LINEAR"

table

table: object

LINEAR

LINEAR: number = WebGLRenderingContext.LINEAR

NEAREST

NEAREST: number = WebGLRenderingContext.NEAREST

minFilter

minFilter: object

converter

converter: string = "Enum"

default

default: string = "LINEAR"

table

table: object

LINEAR

LINEAR: number = WebGLRenderingContext.LINEAR

LINEAR_MIPMAP_LINEAR

LINEAR_MIPMAP_LINEAR: number = WebGLRenderingContext.LINEAR_MIPMAP_LINEAR

LINEAR_MIPMAP_NEAREST

LINEAR_MIPMAP_NEAREST: number = WebGLRenderingContext.LINEAR_MIPMAP_NEAREST

NEAREST

NEAREST: number = WebGLRenderingContext.NEAREST

NEAREST_MIPMAP_LINEAR

NEAREST_MIPMAP_LINEAR: number = WebGLRenderingContext.NEAREST_MIPMAP_LINEAR

NEAREST_MIPMAP_NEAREST

NEAREST_MIPMAP_NEAREST: number = WebGLRenderingContext.NEAREST_MIPMAP_NEAREST

wrapS

wrapS: object

converter

converter: string = "Enum"

default

default: string = "REPEAT"

table

table: object

CLAMP_TO_EDGE

CLAMP_TO_EDGE: number = WebGLRenderingContext.CLAMP_TO_EDGE

MIRRORED_REPEAT

MIRRORED_REPEAT: number = WebGLRenderingContext.MIRRORED_REPEAT

REPEAT

REPEAT: number = WebGLRenderingContext.REPEAT

wrapT

wrapT: object

converter

converter: string = "Enum"

default

default: string = "REPEAT"

table

table: object

CLAMP_TO_EDGE

CLAMP_TO_EDGE: number = WebGLRenderingContext.CLAMP_TO_EDGE

MIRRORED_REPEAT

MIRRORED_REPEAT: number = WebGLRenderingContext.MIRRORED_REPEAT

REPEAT

REPEAT: number = WebGLRenderingContext.REPEAT

Generated using TypeDoc