Constructor
Extends
Methods
draw(renderTarget)
Draw the element
Parameters:
Name | Type | Description |
---|---|---|
renderTarget |
RenderTarget | Renderer who called this method |
- Overrides:
getCustomProgram() → (nullable) {Program}
Get program
A Program instance or null if the Skybox use the default program
setCustomProgram(program) → {Skybox}
Set program to use
Parameters:
Name | Type | Description |
---|---|---|
program |
Program | A Program instance |
A reference to the instance
setTexture(texture) → {Skybox}
Set texture
Parameters:
Name | Type | Description |
---|---|---|
texture |
TextureCube | A TextureCube instance |
A reference to the instance
visit(renderTarget) → {boolean}
Visit the node and his children
Parameters:
Name | Type | Description |
---|---|---|
renderTarget |
RenderTarget | Renderer who called this method |
- Inherited From:
True if visit was successful, otherwise false
boolean