Home

class: TextureUvs


A standard object to store the Uvs of a texture

Methods summary


Public methods
private set(frame: PIXI.Rectangle, baseFrame: PIXI.Rectangle, rotate: number): void
private set(frame: PIXI.Rectangle, baseFrame: PIXI.Rectangle, rotate: number): void

Methods


set(frame: PIXI.Rectangle, baseFrame: PIXI.Rectangle, rotate: number): void

Sets the texture Uvs based on the given frame information.

Params:

Name Type Attribute Description
frame

The frame of the texture

baseFrame

The base frame of the texture

rotate

Rotation of frame, see {@link PIXI.GroupD8}

Returns:

void


set(frame: PIXI.Rectangle, baseFrame: PIXI.Rectangle, rotate: number): void

Sets the texture Uvs based on the given frame information.

Params:

Name Type Attribute Description
frame

The frame of the texture

baseFrame

The base frame of the texture

rotate

Rotation of frame, see {@link PIXI.GroupD8}

Returns:

void


  {
    "comment": "/**\n * A standard object to store the Uvs of a texture\n *\n * @class\n * @private\n * @memberof PIXI\n */",
    "meta": {
        "range": [
            170,
            2673
        ],
        "filename": "TextureUvs.js",
        "lineno": 12,
        "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\textures",
        "code": {
            "id": "astnode100044810",
            "name": "TextureUvs",
            "type": "ClassDeclaration",
            "paramnames": []
        }
    },
    "classdesc": "

A standard object to store the Uvs of a texture

", "kind": "class", "access": "private", "memberof": "PIXI", "name": "TextureUvs", "longname": "PIXI.TextureUvs", "scope": "static", "params": [], "___id": "T000002R004117", "___s": true, "$methods": [ { "comment": "/**\n * Sets the texture Uvs based on the given frame information.\n *\n * @private\n * @param {PIXI.Rectangle} frame - The frame of the texture\n * @param {PIXI.Rectangle} baseFrame - The base frame of the texture\n * @param {number} rotate - Rotation of frame, see {@link PIXI.GroupD8}\n */", "meta": { "range": [ 782, 2671 ], "filename": "TextureUvs.js", "lineno": 42, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\textures", "code": { "id": "astnode100044873", "name": "TextureUvs#set", "type": "MethodDefinition", "paramnames": [ "frame", "baseFrame", "rotate" ] }, "vars": { "": null } }, "description": "

Sets the texture Uvs based on the given frame information.

", "access": "private", "params": [ { "type": { "names": [ "PIXI.Rectangle" ] }, "description": "

The frame of the texture

", "name": "frame" }, { "type": { "names": [ "PIXI.Rectangle" ] }, "description": "

The base frame of the texture

", "name": "baseFrame" }, { "type": { "names": [ "number" ] }, "description": "

Rotation of frame, see {@link PIXI.GroupD8}

", "name": "rotate" } ], "name": "set", "longname": "PIXI.TextureUvs#set", "kind": "function", "memberof": "PIXI.TextureUvs", "scope": "instance", "___id": "T000002R004128", "___s": true, "skip": true, "slug": "PIXI.TextureUvsset", "filepath": "core\\textures\\TextureUvs.js" }, { "comment": "/**\n * Sets the texture Uvs based on the given frame information.\n *\n * @private\n * @param {PIXI.Rectangle} frame - The frame of the texture\n * @param {PIXI.Rectangle} baseFrame - The base frame of the texture\n * @param {number} rotate - Rotation of frame, see {@link PIXI.GroupD8}\n */", "meta": { "range": [ 782, 2671 ], "filename": "TextureUvs.js", "lineno": 42, "path": "C:\\Users\\beaujeup\\projects\\jsdoc-template\\examples\\pixi.js\\pixi.js-repo\\src\\core\\textures", "code": { "id": "astnode100119552", "name": "TextureUvs#set", "type": "MethodDefinition", "paramnames": [ "frame", "baseFrame", "rotate" ] }, "vars": { "": null } }, "description": "

Sets the texture Uvs based on the given frame information.

", "access": "private", "params": [ { "type": { "names": [ "PIXI.Rectangle" ] }, "description": "

The frame of the texture

", "name": "frame" }, { "type": { "names": [ "PIXI.Rectangle" ] }, "description": "

The base frame of the texture

", "name": "baseFrame" }, { "type": { "names": [ "number" ] }, "description": "

Rotation of frame, see {@link PIXI.GroupD8}

", "name": "rotate" } ], "name": "set", "longname": "PIXI.TextureUvs#set", "kind": "function", "memberof": "PIXI.TextureUvs", "scope": "instance", "___id": "T000002R011062", "___s": true, "skip": true, "slug": "PIXI.TextureUvsset", "filepath": "core\\textures\\TextureUvs.js" } ], "$attributes": [], "$staticmethods": [], "$staticproperties": [], "$augments": [], "$augmentedBy": [], "filepath": "core\\textures\\TextureUvs.js" }