///
import { BufferGeometry, Material, Mesh, Object3D, Scene, Bone, PerspectiveCamera, Group, InstancedMesh, Line, LineLoop, LineSegments, PointLight, Points, SkinnedMesh, SpotLight, OrthographicCamera, BoxGeometry, CircleGeometry, ConeGeometry, CylinderGeometry, DodecahedronGeometry, EdgesGeometry, ExtrudeGeometry, IcosahedronGeometry, LatheGeometry, OctahedronGeometry, PlaneGeometry, PolyhedronGeometry, RingGeometry, ShapeGeometry, SphereGeometry, TetrahedronGeometry, TorusGeometry, TorusKnotGeometry, TubeGeometry, WireframeGeometry, LineBasicMaterial, LineDashedMaterial, MeshBasicMaterial, MeshDepthMaterial, MeshDistanceMaterial, MeshLambertMaterial, MeshMatcapMaterial, MeshNormalMaterial, MeshPhongMaterial, MeshPhysicalMaterial, MeshStandardMaterial, MeshToonMaterial, PointsMaterial, RawShaderMaterial, ShaderMaterial, ShadowMaterial, SpriteMaterial, CanvasTexture, CompressedTexture, CubeTexture, DataTexture, DataTexture2DArray, DataTexture3D, DepthTexture, Texture, VideoTexture, Audio, PositionalAudio, AudioListener } from "three";
import { Constructor, IObject3DEntity, IObject3DStaticProps } from "./proxy/Object3DEntityMixin";
import { World } from "./World";
declare type Override = Omit & O;
declare type ITextureProps = {
eid: number;
store: typeof TextureComponent;
};
export declare type ITextureEntity = Override;
export declare const TextureComponent: import("./ECS").MapComponent>;
export declare const TextureEntityMixin: >(Base: new (...args: any[]) => T) => new (...args: any[]) => R;
declare const TextureEntity_base: new (...args: any[]) => ITextureEntity;
export declare class TextureEntity extends TextureEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const CanvasTextureComponent: import("bitecs").ComponentType;
declare const CanvasTextureEntity_base: new (...args: any[]) => ITextureEntity;
export declare class CanvasTextureEntity extends CanvasTextureEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const CompressedTextureComponent: import("bitecs").ComponentType;
declare const CompressedTextureEntity_base: new (...args: any[]) => ITextureEntity;
export declare class CompressedTextureEntity extends CompressedTextureEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const CubeTextureComponent: import("bitecs").ComponentType;
declare const CubeTextureEntity_base: new (...args: any[]) => ITextureEntity;
export declare class CubeTextureEntity extends CubeTextureEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const DataTextureComponent: import("bitecs").ComponentType;
declare const DataTextureEntity_base: new (...args: any[]) => ITextureEntity;
export declare class DataTextureEntity extends DataTextureEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const DataTexture2DArrayComponent: import("bitecs").ComponentType;
declare const DataTexture2DArrayEntity_base: new (...args: any[]) => ITextureEntity;
export declare class DataTexture2DArrayEntity extends DataTexture2DArrayEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const DataTexture3DComponent: import("bitecs").ComponentType;
declare const DataTexture3DEntity_base: new (...args: any[]) => ITextureEntity;
export declare class DataTexture3DEntity extends DataTexture3DEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const DepthTextureComponent: import("bitecs").ComponentType;
declare const DepthTextureEntity_base: new (...args: any[]) => ITextureEntity;
export declare class DepthTextureEntity extends DepthTextureEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const VideoTextureComponent: import("bitecs").ComponentType;
declare const VideoTextureEntity_base: new (...args: any[]) => ITextureEntity;
export declare class VideoTextureEntity extends VideoTextureEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const GeometryComponent: import("./ECS").MapComponent>;
declare type IGeometryProps = {
eid: number;
store: typeof GeometryComponent;
};
export declare type IGeometryEntity = Override;
export declare const GeometryEntityMixin: >(Base: new (...args: any[]) => T) => new (...args: any[]) => R;
export declare const BoxGeometryComponent: import("bitecs").ComponentType;
declare const BoxGeometryEntity_base: new (...args: any[]) => IGeometryEntity;
export declare class BoxGeometryEntity extends BoxGeometryEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const CircleGeometryComponent: import("bitecs").ComponentType;
declare const CircleGeometryEntity_base: new (...args: any[]) => IGeometryEntity;
export declare class CircleGeometryEntity extends CircleGeometryEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const ConeGeometryComponent: import("bitecs").ComponentType;
declare const ConeGeometryEntity_base: new (...args: any[]) => IGeometryEntity;
export declare class ConeGeometryEntity extends ConeGeometryEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const CylinderGeometryComponent: import("bitecs").ComponentType;
declare const CylinderGeometryEntity_base: new (...args: any[]) => IGeometryEntity;
export declare class CylinderGeometryEntity extends CylinderGeometryEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const DodecahedronGeometryComponent: import("bitecs").ComponentType;
declare const DodecahedronGeometryEntity_base: new (...args: any[]) => IGeometryEntity;
export declare class DodecahedronGeometryEntity extends DodecahedronGeometryEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const EdgesGeometryComponent: import("bitecs").ComponentType;
declare const EdgesGeometryEntity_base: new (...args: any[]) => IGeometryEntity>;
export declare class EdgesGeometryEntity extends EdgesGeometryEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const ExtrudeGeometryComponent: import("bitecs").ComponentType;
declare const ExtrudeGeometryEntity_base: new (...args: any[]) => IGeometryEntity;
export declare class ExtrudeGeometryEntity extends ExtrudeGeometryEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const IcosahedronGeometryComponent: import("bitecs").ComponentType;
declare const IcosahedronGeometryEntity_base: new (...args: any[]) => IGeometryEntity;
export declare class IcosahedronGeometryEntity extends IcosahedronGeometryEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const LatheGeometryComponent: import("bitecs").ComponentType;
declare const LatheGeometryEntity_base: new (...args: any[]) => IGeometryEntity;
export declare class LatheGeometryEntity extends LatheGeometryEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const OctahedronGeometryComponent: import("bitecs").ComponentType;
declare const OctahedronGeometryEntity_base: new (...args: any[]) => IGeometryEntity;
export declare class OctahedronGeometryEntity extends OctahedronGeometryEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const PlaneGeometryComponent: import("bitecs").ComponentType;
declare const PlaneGeometryEntity_base: new (...args: any[]) => IGeometryEntity;
export declare class PlaneGeometryEntity extends PlaneGeometryEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const PolyhedronGeometryComponent: import("bitecs").ComponentType;
declare const PolyhedronGeometryEntity_base: new (...args: any[]) => IGeometryEntity;
export declare class PolyhedronGeometryEntity extends PolyhedronGeometryEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const RingGeometryComponent: import("bitecs").ComponentType;
declare const RingGeometryEntity_base: new (...args: any[]) => IGeometryEntity;
export declare class RingGeometryEntity extends RingGeometryEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const ShapeGeometryComponent: import("bitecs").ComponentType;
declare const ShapeGeometryEntity_base: new (...args: any[]) => IGeometryEntity;
export declare class ShapeGeometryEntity extends ShapeGeometryEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const SphereGeometryComponent: import("bitecs").ComponentType;
declare const SphereGeometryEntity_base: new (...args: any[]) => IGeometryEntity;
export declare class SphereGeometryEntity extends SphereGeometryEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const TetrahedronGeometryComponent: import("bitecs").ComponentType;
declare const TetrahedronGeometryEntity_base: new (...args: any[]) => IGeometryEntity;
export declare class TetrahedronGeometryEntity extends TetrahedronGeometryEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const TorusGeometryComponent: import("bitecs").ComponentType;
declare const TorusGeometryEntity_base: new (...args: any[]) => IGeometryEntity;
export declare class TorusGeometryEntity extends TorusGeometryEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const TorusKnotGeometryComponent: import("bitecs").ComponentType;
declare const TorusKnotGeometryEntity_base: new (...args: any[]) => IGeometryEntity;
export declare class TorusKnotGeometryEntity extends TorusKnotGeometryEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const TubeGeometryComponent: import("bitecs").ComponentType;
declare const TubeGeometryEntity_base: new (...args: any[]) => IGeometryEntity;
export declare class TubeGeometryEntity extends TubeGeometryEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const WireframeGeometryComponent: import("bitecs").ComponentType;
declare const WireframeGeometryEntity_base: new (...args: any[]) => IGeometryEntity>;
export declare class WireframeGeometryEntity extends WireframeGeometryEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const MaterialComponent: import("./ECS").MapComponent>;
declare type IMaterialProps = {
eid: number;
store: typeof MaterialComponent;
textureStore: typeof TextureComponent;
};
export declare type IMaterialEntity = Override;
export declare const MaterialEntityMixin: = IMaterialEntity>(Base: new (...args: any[]) => T) => new (...args: any[]) => R;
export declare const LineBasicMaterialComponent: import("bitecs").ComponentType;
declare const LineBasicMaterialEntity_base: new (...args: any[]) => IMaterialEntity;
export declare class LineBasicMaterialEntity extends LineBasicMaterialEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const LineDashedMaterialComponent: import("bitecs").ComponentType;
declare const LineDashedMaterialEntity_base: new (...args: any[]) => IMaterialEntity;
export declare class LineDashedMaterialEntity extends LineDashedMaterialEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const MeshBasicMaterialComponent: import("bitecs").ComponentType;
declare const MeshBasicMaterialEntity_base: new (...args: any[]) => IMaterialEntity;
export declare class MeshBasicMaterialEntity extends MeshBasicMaterialEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const MeshDepthMaterialComponent: import("bitecs").ComponentType;
declare const MeshDepthMaterialEntity_base: new (...args: any[]) => IMaterialEntity;
export declare class MeshDepthMaterialEntity extends MeshDepthMaterialEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const MeshDistanceMaterialComponent: import("bitecs").ComponentType;
declare const MeshDistanceMaterialEntity_base: new (...args: any[]) => IMaterialEntity;
export declare class MeshDistanceMaterialEntity extends MeshDistanceMaterialEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const MeshLambertMaterialComponent: import("bitecs").ComponentType;
declare const MeshLambertMaterialEntity_base: new (...args: any[]) => IMaterialEntity;
export declare class MeshLambertMaterialEntity extends MeshLambertMaterialEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const MeshMatcapMaterialComponent: import("bitecs").ComponentType;
declare const MeshMatcapMaterialEntity_base: new (...args: any[]) => IMaterialEntity;
export declare class MeshMatcapMaterialEntity extends MeshMatcapMaterialEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const MeshNormalMaterialComponent: import("bitecs").ComponentType;
declare const MeshNormalMaterialEntity_base: new (...args: any[]) => IMaterialEntity;
export declare class MeshNormalMaterialEntity extends MeshNormalMaterialEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const MeshPhongMaterialComponent: import("bitecs").ComponentType;
declare const MeshPhongMaterialEntity_base: new (...args: any[]) => IMaterialEntity;
export declare class MeshPhongMaterialEntity extends MeshPhongMaterialEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const MeshPhysicalMaterialComponent: import("bitecs").ComponentType;
declare const MeshPhysicalMaterialEntity_base: new (...args: any[]) => IMaterialEntity;
export declare class MeshPhysicalMaterialEntity extends MeshPhysicalMaterialEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const MeshStandardMaterialComponent: import("bitecs").ComponentType;
declare const MeshStandardMaterialEntity_base: new (...args: any[]) => IMaterialEntity;
export declare class MeshStandardMaterialEntity extends MeshStandardMaterialEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const MeshToonMaterialComponent: import("bitecs").ComponentType;
declare const MeshToonMaterialEntity_base: new (...args: any[]) => IMaterialEntity;
export declare class MeshToonMaterialEntity extends MeshToonMaterialEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const PointsMaterialComponent: import("bitecs").ComponentType;
declare const PointsMaterialEntity_base: new (...args: any[]) => IMaterialEntity;
export declare class PointsMaterialEntity extends PointsMaterialEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const RawShaderMaterialComponent: import("bitecs").ComponentType;
declare const RawShaderMaterialEntity_base: new (...args: any[]) => IMaterialEntity;
export declare class RawShaderMaterialEntity extends RawShaderMaterialEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const ShaderMaterialComponent: import("bitecs").ComponentType;
declare const ShaderMaterialEntity_base: new (...args: any[]) => IMaterialEntity;
export declare class ShaderMaterialEntity extends ShaderMaterialEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const ShadowMaterialComponent: import("bitecs").ComponentType;
declare const ShadowMaterialEntity_base: new (...args: any[]) => IMaterialEntity;
export declare class ShadowMaterialEntity extends ShadowMaterialEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const SpriteMaterialComponent: import("bitecs").ComponentType;
declare const SpriteMaterialEntity_base: new (...args: any[]) => IMaterialEntity;
export declare class SpriteMaterialEntity extends SpriteMaterialEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
/**
* Base Object3D Types:
* Scene
*
* GLTFLoader Object3D Types:
* Bone
* Group
* Line
* LineLoop
* LineSegments
* Mesh
* Object3D
* OrthographicCamera
* PerspectiveCamera
* PointLight
* Points
* SkinnedMesh
* SpotLight
*
* three-omi Object3D Types:
* Audio
* PositionalAudio
* AudioListener
*
* Additional Object3D Types:
* LOD?
*/
export declare const SceneComponent: import("bitecs").ComponentType;
declare const SceneEntity_base: Constructor, IObject3DStaticProps>;
export declare class SceneEntity extends SceneEntity_base {
constructor(world: World);
}
declare const Object3DEntity_base: Constructor, {}>, IObject3DStaticProps>;
export declare class Object3DEntity extends Object3DEntity_base {
constructor(world: World);
}
export declare const MeshBaseComponent: import("bitecs").ComponentType<{
geometryEid: "eid";
materialEid: "eid";
}>;
interface IMeshBaseEntityProps {
meshBaseStore: typeof MeshBaseComponent;
geometryStore: typeof GeometryComponent;
materialStore: typeof MaterialComponent;
geometry: IGeometryEntity;
material: IMaterialEntity;
}
export declare const MeshBaseEntityMixin: , O extends object = {}, R extends IObject3DEntity = IObject3DEntity, S extends IObject3DStaticProps = IObject3DStaticProps>(Base: new (...args: any[]) => T) => Constructor;
export declare const MeshComponent: import("bitecs").ComponentType;
declare const MeshEntity_base: Constructor, IMeshBaseEntityProps>, IObject3DStaticProps>;
export declare class MeshEntity extends MeshEntity_base {
constructor(world: World, geometry: IGeometryEntity, material: IMaterialEntity);
}
export declare const SkinnedMeshComponent: import("bitecs").ComponentType;
declare const SkinnedMeshEntity_base: Constructor, {}>, IObject3DStaticProps>;
export declare class SkinnedMeshEntity extends SkinnedMeshEntity_base {
constructor(world: World, geometry: IGeometryEntity, material: IMaterialEntity);
}
export declare const InstancedMeshImposterComponent: import("bitecs").ComponentType<{
instancedMeshEid: "eid";
instancedMeshIndex: "ui32";
needsUpdate: "ui8";
autoUpdate: "ui8";
}>;
declare const InstancedMeshImposterEntity_base: Constructor, {}>, IObject3DStaticProps>;
export declare class InstancedMeshImposterEntity extends InstancedMeshImposterEntity_base {
constructor(world: World, instancedMesh: InstancedMeshEntity);
}
export declare const InstancedMeshComponent: import("bitecs").ComponentType;
declare const InstancedMeshEntity_base: Constructor, {}>, IObject3DStaticProps>;
export declare class InstancedMeshEntity extends InstancedMeshEntity_base {
constructor(world: World, geometry: IGeometryEntity, material: IMaterialEntity, size: number, count?: number);
addInstance(): void;
}
export declare const BoneComponent: import("bitecs").ComponentType;
declare const BoneEntity_base: Constructor, IObject3DStaticProps>;
export declare class BoneEntity extends BoneEntity_base {
constructor(world: World);
}
export declare const CameraComponent: import("bitecs").ComponentType;
export declare const OrthographicCameraComponent: import("bitecs").ComponentType;
declare const OrthographicCameraEntity_base: Constructor, IObject3DStaticProps>;
export declare class OrthographicCameraEntity extends OrthographicCameraEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const PerspectiveCameraComponent: import("bitecs").ComponentType;
declare const PerspectiveCameraEntity_base: Constructor, IObject3DStaticProps>;
export declare class PerspectiveCameraEntity extends PerspectiveCameraEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const GroupComponent: import("bitecs").ComponentType;
declare const GroupEntity_base: Constructor, IObject3DStaticProps>;
export declare class GroupEntity extends GroupEntity_base {
constructor(world: World);
}
export declare const LineComponent: import("bitecs").ComponentType;
declare const LineEntity_base: Constructor, {}>, IObject3DStaticProps>;
export declare class LineEntity extends LineEntity_base {
constructor(world: World, geometry: IGeometryEntity, material: IMaterialEntity);
}
export declare const LineLoopComponent: import("bitecs").ComponentType;
declare const LineLoopEntity_base: Constructor, {}>, IObject3DStaticProps>;
export declare class LineLoopEntity extends LineLoopEntity_base {
constructor(world: World, geometry: IGeometryEntity, material: IMaterialEntity);
}
export declare const LineSegmentsComponent: import("bitecs").ComponentType;
declare const LineSegmentsEntity_base: Constructor, {}>, IObject3DStaticProps>;
export declare class LineSegmentsEntity extends LineSegmentsEntity_base {
constructor(world: World, geometry: IGeometryEntity, material: IMaterialEntity);
}
export declare const PointLightComponent: import("bitecs").ComponentType;
declare const PointLightEntity_base: Constructor, IObject3DStaticProps>;
export declare class PointLightEntity extends PointLightEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const PointsComponent: import("bitecs").ComponentType;
declare const PointsEntity_base: Constructor, {}>, IObject3DStaticProps>;
export declare class PointsEntity extends PointsEntity_base {
constructor(world: World, geometry: IGeometryEntity, material: IMaterialEntity);
}
export declare const SpotLightComponent: import("bitecs").ComponentType;
declare const SpotLightEntity_base: Constructor, IObject3DStaticProps>;
export declare class SpotLightEntity extends SpotLightEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export declare const AudioComponent: import("bitecs").ComponentType;
declare const AudioEntity_base: Constructor, {}>, IObject3DStaticProps>;
export declare class AudioEntity extends AudioEntity_base {
constructor(world: World, listener: AudioListenerEntity);
}
export declare const PositionalAudioComponent: import("bitecs").ComponentType;
declare const PositionalAudioEntity_base: Constructor, IObject3DStaticProps>;
export declare class PositionalAudioEntity extends PositionalAudioEntity_base {
constructor(world: World, listener: AudioListenerEntity);
}
export declare const AudioListenerComponent: import("bitecs").ComponentType;
declare const AudioListenerEntity_base: Constructor, IObject3DStaticProps>;
export declare class AudioListenerEntity extends AudioListenerEntity_base {
constructor(world: World, ...args: ConstructorParameters);
}
export {};