Class createjs.WebGLRenderer.Vector
Defined in: webgl_renderer.js.
Constructor Attributes | Constructor Name and Description |
---|---|
createjs.WebGLRenderer.Vector(context, program, key, x, y)
An inner class that encapsulates a point used by this renderer.
|
Method Attributes | Method Name and Description |
---|---|
bindContext(context)
Binds this point to the specified context.
|
|
set(x, y)
Changes this point.
|
Class Detail
createjs.WebGLRenderer.Vector(context, program, key, x, y)
An inner class that encapsulates a point used by this renderer. This renderer
uses a uniform vector (x, y) to represent a point.
- Parameters:
- {createjs.WebGLRenderer.Context} context
- {WebGLProgram} program
- {string} key
- {number} x
- {number} y
Method Detail
bindContext(context)
Binds this point to the specified context.
- Parameters:
- {createjs.WebGLRenderer.Context} context
set(x, y)
Changes this point.
- Parameters:
- {number} x
- {number} y