- Implement camera controls
- Option to resolve object properties when fetching from object store (names, descriptions etc). Can be more efficient - TODO: use FamilyProperties for child prims. - Refactored objectstore to reduce code duplication
This commit is contained in:
12
dist/classes/interfaces/IObjectStore.d.ts
vendored
12
dist/classes/interfaces/IObjectStore.d.ts
vendored
@@ -1,12 +1,12 @@
|
||||
import { IGameObject } from './IGameObject';
|
||||
import { RBush3D } from 'rbush-3d/dist';
|
||||
import { GameObjectFull } from '../GameObjectFull';
|
||||
import { UUID } from '../UUID';
|
||||
import { GameObject } from '../GameObject';
|
||||
export interface IObjectStore {
|
||||
rtree?: RBush3D;
|
||||
getObjectsByParent(parentID: number): IGameObject[];
|
||||
getObjectsByParent(parentID: number): GameObject[];
|
||||
shutdown(): void;
|
||||
getObjectsInArea(minX: number, maxX: number, minY: number, maxY: number, minZ: number, maxZ: number): GameObjectFull[];
|
||||
getObjectByUUID(fullID: UUID): IGameObject;
|
||||
getObjectByLocalID(ID: number): IGameObject;
|
||||
getObjectsInArea(minX: number, maxX: number, minY: number, maxY: number, minZ: number, maxZ: number): GameObject[];
|
||||
getObjectByUUID(fullID: UUID): GameObject;
|
||||
getObjectByLocalID(ID: number): GameObject;
|
||||
getNumberOfObjects(): number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user