RoofItem
Extends:
A Floor Item is an entity to be placed related to a floor.
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
|
|
public |
|
|
public |
halfSize: * |
Method Summary
Public Methods | ||
public |
closestCeilingPoint(): * |
|
public |
Returns an array of planes to use other than the ground plane for passing intersection to clickPressed and clickDragged |
|
public |
|
|
public |
roofContainsPoint(roof: *, forpoint: *): * |
Inherited Summary
From class Item | ||
public |
Show rotate option in context menu |
|
public |
bhelper: * |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
canvasWD: * |
|
public |
canvasWH: * |
|
public |
|
|
public |
|
|
public |
|
|
public |
dragOffset: * dragging |
|
public |
|
|
public |
|
|
public |
|
|
public |
errorGlow: * |
|
public |
|
|
public |
geometry: * |
|
public |
halfSize: * |
|
public |
|
|
public |
|
|
public |
material: * |
|
public |
metadata: * |
|
public |
model: * |
|
public |
Does this object affect other floor items |
|
public |
|
|
public |
|
|
public |
|
|
public |
resizable: * |
|
public |
|
|
public |
scene: * |
|
public |
|
|
public |
texture: * |
|
public |
wirematerial: * |
|
public |
clickDragged(intersection: *) |
|
public |
clickPressed(intersection: *) intersection has attributes point (vec3) and object (THREE.Mesh) |
|
public |
|
|
public |
createGlow(color: *, opacity: *, ignoreDepth: *): * |
|
public |
customIntersectionPlanes(): *[] Returns an array of planes to use other than the ground plane for passing intersection to clickPressed and clickDragged |
|
public |
getCorners(xDim: *, yDim: *, position: *): * returns the 2d corners of the bounding polygon |
|
public |
getDepth(): * |
|
public |
getHeight(): * |
|
public |
getMaterial(): * |
|
public |
getMaterialColor(index: *): * |
|
public |
getMetaData(): {"item_name": *, "item_type": *, "format": *, "model_url": *, "xpos": *, "ypos": *, "zpos": *, "rotation": *, "scale_x": *, "scale_y": *, "scale_z": *, "fixed": *, "material_colors": *} |
|
public |
|
|
public |
getWidth(): * |
|
public |
|
|
public |
|
|
public |
|
|
public |
mouseOff() |
|
public |
|
|
public |
moveToPosition(vec3: *) |
|
public |
objectHalfSize(): * |
|
public |
|
|
public |
remove() |
|
public |
removed() |
|
public |
resize(height: *, width: *, depth: *) |
|
public |
resized() Subclass can define to take action after a resize. |
|
public |
rotate(intersection: *) |
|
public |
setFixed(fixed: *) |
|
public |
setMaterialColor(color: *, index: *) |
|
public |
setProportionalResize(flag: *) |
|
public |
setScale(x: *, y: *, z: *) |
|
public |
|
|
public |
|
|
public |
showError(vec3: *) |
|
public |
switchWireframe(flag: *) |
|
public |
updateCanvasTexture(canvas: *, context: *, material: *, w: *, h: *, wPrefix: *, hPrefix: *) |
|
public |
on is a bool |
Public Constructors
Public Members
Public Methods
public customIntersectionPlanes(): * source
Returns an array of planes to use other than the ground plane for passing intersection to clickPressed and clickDragged
Override:
Item#customIntersectionPlanesReturn:
* |
public roofContainsPoint(roof: *, forpoint: *): * source
Params:
Name | Type | Attribute | Description |
roof | * | ||
forpoint | * |
Return:
* |