Home Reference Source
public class | source

GLBoostMiddleContext

Extends:

GLBoostLowContext → GLBoostMiddleContext

Constructor Summary

Public Constructor
public

constructor(canvas: *, initParameter: *, gl: *, width: *, height: *)

Member Summary

Private Members
private

Method Summary

Public Methods
public

createAmbientLight(intensity: *): *

public

createAxisGizmo(length: *): *

public

createDirectionalLight(intensity: *, rotate: *, length: *): *

public
public
public
public

createFreeShader(vertexShaderText: *, fragmentShaderText: *, attributes: *, uniforms: *, textureNames: *): *

public

createFrustumCamera(lookat: *, perspective: *): *

public

createGridGizmo(length: *, division: *, isXZ: *, isXY: *, isYZ: *, colorVec: *): *

public
public

createHeightLineGizmo(startPos: *, endPos: *): *

public

createJoint(isExistJointGizmo: *): *

public

createMesh(geometry: *, material: *): *

public

createOrthoCamera(lookat: *, ortho: *): *

public

createOutlineGizmo(mesh: *): *

public

createPerspectiveCamera(lookat: *, perspective: *): *

public

createPointLight(intensity: *): *

public

createRenderPasses(number: *): *

public

createRenderer(parameters: *): *

public
public

createScreenMesh(customVertexAttributes: *): *

public
public

createSkeletalMesh(geometry: *, material: *, rootJointName: *): *

public

createSpotLight(intensity: *, rotate: *): *

Inherited Summary

From class GLBoostLowContext
private static
public get
public get
public get
public set
public get
public get
public get
public get
public get
public set
private
private
public

createAxis(length: number): *

public
public
public
public

createCube(widthVector: Vector3, vertexColor: Vector4): *

public

createCubeTexture(userFlavorName: string, parameters: Object): *

public
public

createFrustumCamera(lookat: Object, perspective: Object): *

public
public

createOrthoCamera(lookat: Object, ortho: Object): *

public
public

createParticle(centerPointData: Object, particleWidth: number, particleHeight: number, customVertexAttributes: Object, performanceHint: number): *

public

createPerspectiveCamera(lookat: Object, perspective: Object): *

public

createPhinaTexture(width: number, height: number, fillStyle: string, parameters: Object): *

public

createPlane(width: number, height: number, uSpan: number, vSpan: number, customVertexAttributes: Object, isUVRepeat: boolean): *

public

createScreen(screen: Object, customVertexAttributes: Object): *

public

createSphere(radius: number, widthSegments: number, heightSegments: number, vertexColor: Vector4): *

public

createTexture(src: string, userFlavorName: string, parameters: Object): *

public

createTexturesForRenderTarget(width: number, height: number, textureNum: number): Array

create textures as render target.

public
public
public
public
public

setPropertiesFromJson(arg: Object | string, queryType: number): *

public

toString(): *

private

Public Constructors

public constructor(canvas: *, initParameter: *, gl: *, width: *, height: *) source

Override:

GLBoostLowContext#constructor

Params:

NameTypeAttributeDescription
canvas *
initParameter *
gl *
width *
height *

Private Members

private _glBoostMonitor: * source

Public Methods

public createAmbientLight(intensity: *): * source

Params:

NameTypeAttributeDescription
intensity *

Return:

*

public createAxisGizmo(length: *): * source

Params:

NameTypeAttributeDescription
length *

Return:

*

public createDirectionalLight(intensity: *, rotate: *, length: *): * source

Params:

NameTypeAttributeDescription
intensity *
rotate *
length *

Return:

*

public createEffekseerElement(): * source

Return:

*

public createExpression(): * source

Return:

*

public createExpressionAndRenderPasses(number: *): * source

Params:

NameTypeAttributeDescription
number *

Return:

*

public createFreeShader(vertexShaderText: *, fragmentShaderText: *, attributes: *, uniforms: *, textureNames: *): * source

Params:

NameTypeAttributeDescription
vertexShaderText *
fragmentShaderText *
attributes *
uniforms *
textureNames *

Return:

*

public createFrustumCamera(lookat: *, perspective: *): * source

Override:

GLBoostLowContext#createFrustumCamera

Params:

NameTypeAttributeDescription
lookat *
perspective *

Return:

*

public createGridGizmo(length: *, division: *, isXZ: *, isXY: *, isYZ: *, colorVec: *): * source

Params:

NameTypeAttributeDescription
length *
division *
isXZ *
isXY *
isYZ *
colorVec *

Return:

*

public createGroup(): * source

Return:

*

public createHeightLineGizmo(startPos: *, endPos: *): * source

Params:

NameTypeAttributeDescription
startPos *
endPos *

Return:

*

public createJoint(isExistJointGizmo: *): * source

Params:

NameTypeAttributeDescription
isExistJointGizmo *

Return:

*

public createMesh(geometry: *, material: *): * source

Params:

NameTypeAttributeDescription
geometry *
material *

Return:

*

public createOrthoCamera(lookat: *, ortho: *): * source

Override:

GLBoostLowContext#createOrthoCamera

Params:

NameTypeAttributeDescription
lookat *
ortho *

Return:

*

public createOutlineGizmo(mesh: *): * source

Params:

NameTypeAttributeDescription
mesh *

Return:

*

public createPerspectiveCamera(lookat: *, perspective: *): * source

Override:

GLBoostLowContext#createPerspectiveCamera

Params:

NameTypeAttributeDescription
lookat *
perspective *

Return:

*

public createPointLight(intensity: *): * source

Params:

NameTypeAttributeDescription
intensity *

Return:

*

public createRenderPasses(number: *): * source

Params:

NameTypeAttributeDescription
number *

Return:

*

public createRenderer(parameters: *): * source

Params:

NameTypeAttributeDescription
parameters *

Return:

*

public createScene(): * source

Return:

*

public createScreenMesh(customVertexAttributes: *): * source

Params:

NameTypeAttributeDescription
customVertexAttributes *

Return:

*

public createSkeletalGeometry(): * source

Return:

*

public createSkeletalMesh(geometry: *, material: *, rootJointName: *): * source

Params:

NameTypeAttributeDescription
geometry *
material *
rootJointName *

Return:

*

public createSpotLight(intensity: *, rotate: *): * source

Params:

NameTypeAttributeDescription
intensity *
rotate *

Return:

*