@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
31 lines (18 loc) • 545 B
TypeScript
import {Object3D} from "three";
import {AABB3} from "../../../../core/geom/3d/aabb/AABB3";
export default class Mesh {
url: string
mesh: Object3D
castShadow: boolean
receiveShadow: boolean
readonly isLoaded: boolean
clone(): Mesh
copy(other: Mesh): void
hash(): number
equals(other: Mesh): boolean
fromJSON(json)
toJSON(): any
static fromJSON(json): Mesh
getBoundingBox(destination: AABB3): void
getOriginalBoundingBox(destination: AABB3): void
}