Edge
Extends:
Constructor Summary
| Public Constructor | ||
| public |
|
|
Member Summary
| Public Members | ||
| public |
|
|
| public |
basePlanes: *[] |
|
| public |
controls: * |
|
| public |
edge: * |
|
| public |
|
|
| public |
front: * |
|
| public |
lightMap: * |
|
| public |
|
|
| public |
phantomPlanes: *[] |
|
| public |
planes: *[] |
|
| public |
redrawevent: * |
|
| public |
scene: * |
|
| public |
showallevent: * |
|
| public |
|
|
| public |
texture: * |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
wall: * |
|
Method Summary
| Public Methods | ||
| public |
|
|
| public |
buildFillerUniformHeight(edge: *, height: *, side: *, color: *): * |
|
| public |
buildFillerVaryingHeights(edge: *, side: *, color: *): * |
|
| public |
buildSideFillter(p1: *, p2: *, height: *, color: *): * |
|
| public |
init() |
|
| public |
makeWall(start: *, end: *, transform: *, invTransform: *, material: *): * |
|
| public |
redraw() |
|
| public |
remove() |
|
| public |
|
|
| public |
showAll() |
|
| public |
switchWireframe(flag: *) |
|
| public |
toVec2(pos: *): * |
|
| public |
toVec3(pos: *, height: *): * |
|
| public |
|
|
| public |
|
|
| public |
updateTexture(callback: *) |
|
| public |
|
|
Public Constructors
public constructor() source
Public Members
public basePlanes: *[] source
public controls: * source
public edge: * source
public front: * source
public lightMap: * source
public phantomPlanes: *[] source
public planes: *[] source
public redrawevent: * source
public scene: * source
public showallevent: * source
public texture: * source
public visibilityevent: * source
public wall: * source
Public Methods
public addToScene() source
public buildFillerUniformHeight(edge: *, height: *, side: *, color: *): * source
Params:
| Name | Type | Attribute | Description |
| edge | * | ||
| height | * | ||
| side | * | ||
| color | * |
Return:
| * |
public buildFillerVaryingHeights(edge: *, side: *, color: *): * source
Params:
| Name | Type | Attribute | Description |
| edge | * | ||
| side | * | ||
| color | * |
Return:
| * |
public buildSideFillter(p1: *, p2: *, height: *, color: *): * source
Params:
| Name | Type | Attribute | Description |
| p1 | * | ||
| p2 | * | ||
| height | * | ||
| color | * |
Return:
| * |
public init() source
public makeWall(start: *, end: *, transform: *, invTransform: *, material: *): * source
Params:
| Name | Type | Attribute | Description |
| start | * | ||
| end | * | ||
| transform | * | ||
| invTransform | * | ||
| material | * |
Return:
| * |
public redraw() source
public remove() source
public removeFromScene() source
public showAll() source
public switchWireframe(flag: *) source
Params:
| Name | Type | Attribute | Description |
| flag | * |
public toVec3(pos: *, height: *): * source
Params:
| Name | Type | Attribute | Description |
| pos | * | ||
| height | * |
Return:
| * |
public updateObjectVisibility() source
public updatePlanes() source
public updateTexture(callback: *) source
Params:
| Name | Type | Attribute | Description |
| callback | * |