diff --git a/modules/ammo/ammo-factory.ts/index.html b/modules/ammo/ammo-factory.ts/index.html
index d9e03be9..099ef14a 100755
--- a/modules/ammo/ammo-factory.ts/index.html
+++ b/modules/ammo/ammo-factory.ts/index.html
@@ -533,6 +533,13 @@
createTrigger (method)
+
+
+
+
+ createRaycastVehicle (method)
+
+
@@ -593,6 +600,7 @@ Table of contents
AmmoFactory (class) createRaycastVehicle(chassis: AmmoRigidBodyComponent): AmmoRaycastVehicleComponent
+
createShape (method)
Signature
protected createShape(descriptor: Shape3DDescriptor): Ammo.btCollisionShape
diff --git a/modules/ammo/components/ammo-body.component.ts/index.html b/modules/ammo/components/ammo-body.component.ts/index.html
index 61fc0ccc..213ab7f0 100755
--- a/modules/ammo/components/ammo-body.component.ts/index.html
+++ b/modules/ammo/components/ammo-body.component.ts/index.html
@@ -521,6 +521,13 @@
@@ -598,12 +626,16 @@ Table of contents
@@ -615,17 +647,21 @@ AmmoBodyComponent (class)
protected constructor(protected readonly world: AmmoWorldComponent, protected _nativeBody: T)
}
+refreshCG (method)
+Signature
+abstract refreshCG(): void;
+
clone (method)
Signature
abstract clone(): AmmoBodyComponent<T>;
addToWorld (method)
Signature
-abstract addToWorld(world: Gg3dWorld<IVisualScene3dComponent, AmmoWorldComponent>): void;
+addToWorld(world: Gg3dWorld<VisualTypeDocRepo3D, AmmoPhysicsTypeDocRepo>): void
removeFromWorld (method)
Signature
-abstract removeFromWorld(world: Gg3dWorld<IVisualScene3dComponent, AmmoWorldComponent>): void;
+removeFromWorld(world: Gg3dWorld<VisualTypeDocRepo3D, AmmoPhysicsTypeDocRepo>): void
dispose (method)
Signature
@@ -639,6 +675,18 @@ entity (property)
Signature
entity: any
+addedToWorld (property)
+Signature
+addedToWorld: boolean
+
+_interactWithCGsMask (property)
+Signature
+_interactWithCGsMask: any
+
+_ownCGsMask (property)
+Signature
+_ownCGsMask: any
+
diff --git a/modules/ammo/components/ammo-raycast-vehicle.component.ts/index.html b/modules/ammo/components/ammo-raycast-vehicle.component.ts/index.html
index 487d6120..53514a71 100755
--- a/modules/ammo/components/ammo-raycast-vehicle.component.ts/index.html
+++ b/modules/ammo/components/ammo-raycast-vehicle.component.ts/index.html
@@ -575,6 +575,13 @@
resetSuspension (method)
+
+
+
+
+ clone (method)
+
+
@@ -655,6 +662,7 @@ Table of contents
isWheelTouchesGround (method)
getWheelTransform (method)
resetSuspension (method)
+clone (method)
nativeVehicle (property)
vehicleTuning (property)
wheelDirectionCS0 (property)
@@ -673,7 +681,7 @@ AmmoRaycastVehicleComponent (class)
addToWorld (method)
Signature
-addToWorld(world: Gg3dWorld<IVisualScene3dComponent, AmmoWorldComponent>)
+addToWorld(world: Gg3dWorld<VisualTypeDocRepo3D, AmmoPhysicsTypeDocRepo>)
addWheel (method)
Signature
@@ -703,6 +711,10 @@ resetSuspension (method)
Signature
resetSuspension(): void
+clone (method)
+Signature
+public clone(): AmmoRaycastVehicleComponent
+
nativeVehicle (property)
Signature
readonly nativeVehicle: any
diff --git a/modules/ammo/components/ammo-rigid-body.component.ts/index.html b/modules/ammo/components/ammo-rigid-body.component.ts/index.html
index 6d18c8f6..2c6b7d7e 100755
--- a/modules/ammo/components/ammo-rigid-body.component.ts/index.html
+++ b/modules/ammo/components/ammo-rigid-body.component.ts/index.html
@@ -540,6 +540,13 @@
removeFromWorld (method)
+
+
+
+
+ refreshCG (method)
+
+
@@ -594,6 +601,7 @@ Table of contents
clone (method)
addToWorld (method)
removeFromWorld (method)
+refreshCG (method)
resetMotion (method)
entity (property)
@@ -613,11 +621,15 @@ clone (method)
addToWorld (method)
Signature
-addToWorld(world: Gg3dWorld<IVisualScene3dComponent, AmmoWorldComponent>): void
+addToWorld(world: Gg3dWorld<VisualTypeDocRepo3D, AmmoPhysicsTypeDocRepo>): void
removeFromWorld (method)
Signature
-removeFromWorld(world: Gg3dWorld<IVisualScene3dComponent, AmmoWorldComponent>): void
+removeFromWorld(world: Gg3dWorld<VisualTypeDocRepo3D, AmmoPhysicsTypeDocRepo>): void
+
+refreshCG (method)
+Signature
+refreshCG(): void
resetMotion (method)
Signature
diff --git a/modules/ammo/components/ammo-trigger.component.ts/index.html b/modules/ammo/components/ammo-trigger.component.ts/index.html
index f63c7242..f0ebf25f 100755
--- a/modules/ammo/components/ammo-trigger.component.ts/index.html
+++ b/modules/ammo/components/ammo-trigger.component.ts/index.html
@@ -547,6 +547,13 @@
removeFromWorld (method)
+
+
+
+
+ refreshCG (method)
+
+
@@ -623,6 +630,7 @@ Table of contents
clone (method)
addToWorld (method)
removeFromWorld (method)
+refreshCG (method)
dispose (method)
entity (property)
onEnter$ (property)
@@ -649,11 +657,15 @@ clone (method)
addToWorld (method)
Signature
-addToWorld(world: Gg3dWorld<IVisualScene3dComponent, AmmoWorldComponent>)
+addToWorld(world: Gg3dWorld<VisualTypeDocRepo3D, AmmoPhysicsTypeDocRepo>)
removeFromWorld (method)
Signature
-removeFromWorld(world: Gg3dWorld<IVisualScene3dComponent, AmmoWorldComponent>): void
+removeFromWorld(world: Gg3dWorld<VisualTypeDocRepo3D, AmmoPhysicsTypeDocRepo>): void
+
+refreshCG (method)
+Signature
+refreshCG(): void
dispose (method)
Signature
diff --git a/modules/ammo/components/ammo-world.component.ts/index.html b/modules/ammo/components/ammo-world.component.ts/index.html
index 71b2edec..5fd1b8b2 100755
--- a/modules/ammo/components/ammo-world.component.ts/index.html
+++ b/modules/ammo/components/ammo-world.component.ts/index.html
@@ -533,6 +533,20 @@
simulate (method)
+
+
+
+
+ registerCollisionGroup (method)
+
+
+
+
+
+
+ deregisterCollisionGroup (method)
+
+
@@ -561,6 +575,13 @@
_dynamicAmmoWorld (property)
+
+
+
+
+ lockedCollisionGroups (property)
+
+
@@ -600,10 +621,13 @@ Table of contents
AmmoWorldComponent (class)
@@ -621,16 +645,24 @@ simulate (method)
Signature
simulate(delta: number): void
+registerCollisionGroup (method)
+Signature
+registerCollisionGroup(): CollisionGroup
+
+deregisterCollisionGroup (method)
+Signature
+deregisterCollisionGroup(group: CollisionGroup): void
+
startDebugger (method)
Signature
startDebugger(
- world: Gg3dWorld<IVisualScene3dComponent, AmmoWorldComponent>,
+ world: Gg3dWorld<VisualTypeDocRepo3D, AmmoPhysicsTypeDocRepo>,
drawer: IDebugPhysicsDrawer<Point3, Point4>,
): void
stopDebugger (method)
Signature
-stopDebugger(world: Gg3dWorld<IVisualScene3dComponent, AmmoWorldComponent>): void
+stopDebugger(world: Gg3dWorld<VisualTypeDocRepo3D, AmmoPhysicsTypeDocRepo>): void
dispose (method)
Signature
@@ -640,6 +672,10 @@ _dynamicAmmoWorld (property)
Signature
_dynamicAmmoWorld: any
+lockedCollisionGroups (property)
+Signature
+lockedCollisionGroups: number[]
+
diff --git a/modules/ammo/index.html b/modules/ammo/index.html
index cd407d73..ec84b1d4 100755
--- a/modules/ammo/index.html
+++ b/modules/ammo/index.html
@@ -513,6 +513,7 @@ Directory table of contents
ammo/ammo-loader.ts
ammo/ammo-utils.ts
ammo/components
+ammo/types.ts
diff --git a/modules/ammo/types.ts/index.html b/modules/ammo/types.ts/index.html
new file mode 100755
index 00000000..3eddf860
--- /dev/null
+++ b/modules/ammo/types.ts/index.html
@@ -0,0 +1,611 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ammo/types.ts - GG-web-engine
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+types overview
+
+Table of contents
+
+
+
+utils
+AmmoPhysicsTypeDocRepo (type alias)
+Signature
+export type AmmoPhysicsTypeDocRepo = {
+ factory: AmmoFactory
+ loader: AmmoLoader
+ rigidBody: AmmoRigidBodyComponent
+ trigger: AmmoTriggerComponent
+ raycastVehicle: AmmoRaycastVehicleComponent
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/modules/core/2d/components/physics/i-physics-world-2d.component.ts/index.html b/modules/core/2d/components/physics/i-physics-world-2d.component.ts/index.html
index 56849044..1051838a 100755
--- a/modules/core/2d/components/physics/i-physics-world-2d.component.ts/index.html
+++ b/modules/core/2d/components/physics/i-physics-world-2d.component.ts/index.html
@@ -555,9 +555,8 @@ Table of contents
utils
IPhysicsWorld2dComponent (interface)
Signature
-export interface IPhysicsWorld2dComponent extends IPhysicsWorldComponent<Point2, number> {
- readonly factory: IPhysicsBody2dComponentFactory
-}
+export interface IPhysicsWorld2dComponent<TypeDoc extends PhysicsTypeDocRepo2D = PhysicsTypeDocRepo2D>
+ extends IPhysicsWorldComponent<Point2, number, TypeDoc> {}
diff --git a/modules/core/2d/components/physics/i-rigid-body-2d.component.ts/index.html b/modules/core/2d/components/physics/i-rigid-body-2d.component.ts/index.html
index 133cb1f1..1db45d99 100755
--- a/modules/core/2d/components/physics/i-rigid-body-2d.component.ts/index.html
+++ b/modules/core/2d/components/physics/i-rigid-body-2d.component.ts/index.html
@@ -555,8 +555,8 @@ Table of contents
utils
IRigidBody2dComponent (interface)
Signature
-export interface IRigidBody2dComponent<PW extends IPhysicsWorld2dComponent = IPhysicsWorld2dComponent>
- extends IRigidBodyComponent<Point2, number, PW> {
+export interface IRigidBody2dComponent<TypeDoc extends PhysicsTypeDocRepo2D = PhysicsTypeDocRepo2D>
+ extends IRigidBodyComponent<Point2, number, TypeDoc> {
angularVelocity: number
}
diff --git a/modules/core/2d/components/physics/i-trigger-2d.component.ts/index.html b/modules/core/2d/components/physics/i-trigger-2d.component.ts/index.html
index d14c8030..bb852f48 100755
--- a/modules/core/2d/components/physics/i-trigger-2d.component.ts/index.html
+++ b/modules/core/2d/components/physics/i-trigger-2d.component.ts/index.html
@@ -555,8 +555,8 @@ Table of contents
utils
ITrigger2dComponent (interface)
Signature
-export interface ITrigger2dComponent<PW extends IPhysicsWorld2dComponent = IPhysicsWorld2dComponent>
- extends ITriggerComponent<Point2, number, PW> {
+export interface ITrigger2dComponent<TypeDoc extends PhysicsTypeDocRepo2D = PhysicsTypeDocRepo2D>
+ extends ITriggerComponent<Point2, number, TypeDoc> {
diff --git a/modules/core/2d/components/rendering/i-display-object-2d.component.ts/index.html b/modules/core/2d/components/rendering/i-display-object-2d.component.ts/index.html
index b019a42f..35cf9791 100755
--- a/modules/core/2d/components/rendering/i-display-object-2d.component.ts/index.html
+++ b/modules/core/2d/components/rendering/i-display-object-2d.component.ts/index.html
@@ -555,8 +555,8 @@ Table of contents
utils
IDisplayObject2dComponent (interface)
Signature
-export interface IDisplayObject2dComponent<VS extends IVisualScene2dComponent = IVisualScene2dComponent>
- extends IDisplayObjectComponent<Point2, number, VS> {}
+export interface IDisplayObject2dComponent<TypeDoc extends VisualTypeDocRepo2D = VisualTypeDocRepo2D>
+ extends IDisplayObjectComponent<Point2, number, TypeDoc> {}
diff --git a/modules/core/2d/components/rendering/i-renderer-2d.component.ts/index.html b/modules/core/2d/components/rendering/i-renderer-2d.component.ts/index.html
index b2a0471f..09e83210 100755
--- a/modules/core/2d/components/rendering/i-renderer-2d.component.ts/index.html
+++ b/modules/core/2d/components/rendering/i-renderer-2d.component.ts/index.html
@@ -555,7 +555,7 @@ Table of contents
utils
IRenderer2dComponent (class)
Signature
-export declare class IRenderer2dComponent<VS>
+export declare class IRenderer2dComponent<TypeDoc>
diff --git a/modules/core/2d/components/rendering/i-visual-scene-2d.component.ts/index.html b/modules/core/2d/components/rendering/i-visual-scene-2d.component.ts/index.html
index d72274be..ee8eb8d7 100755
--- a/modules/core/2d/components/rendering/i-visual-scene-2d.component.ts/index.html
+++ b/modules/core/2d/components/rendering/i-visual-scene-2d.component.ts/index.html
@@ -555,10 +555,9 @@ Table of contents
utils
IVisualScene2dComponent (interface)
Signature
-export interface IVisualScene2dComponent extends IVisualSceneComponent<Point2, number> {
- readonly factory: IGg2dObjectFactory
-
- createRenderer(canvas?: HTMLCanvasElement, rendererOptions?: Partial<RendererOptions>): IRenderer2dComponent
+export interface IVisualScene2dComponent<TypeDoc extends VisualTypeDocRepo2D = VisualTypeDocRepo2D>
+ extends IVisualSceneComponent<Point2, number, TypeDoc> {
+ createRenderer(canvas?: HTMLCanvasElement, rendererOptions?: Partial<RendererOptions>): TypeDoc['renderer']
}
diff --git a/modules/core/2d/entities/entity-2d.ts/index.html b/modules/core/2d/entities/entity-2d.ts/index.html
index 1fe8101f..2534142b 100755
--- a/modules/core/2d/entities/entity-2d.ts/index.html
+++ b/modules/core/2d/entities/entity-2d.ts/index.html
@@ -587,10 +587,10 @@ Table of contents
utils
Entity2d (class)
Signature
-export declare class Entity2d<VS, PW> {
+export declare class Entity2d<VTypeDoc, PTypeDoc> {
constructor(
- public readonly object2D: IDisplayObject2dComponent | null,
- public readonly objectBody: IRigidBody2dComponent | null
+ public readonly object2D: VTypeDoc['displayObject'] | null,
+ public readonly objectBody: PTypeDoc['rigidBody'] | null
)
}
@@ -601,7 +601,7 @@ updateVisibility (method)
Synchronize physics body transform with entity (and object2d if defined)
Signature
-protected runTransformBinding(objectBody: IRigidBody2dComponent, object2D: IDisplayObject2dComponent | null): void
+protected runTransformBinding(objectBody: PTypeDoc['rigidBody'], object2D: VTypeDoc['displayObject'] | null): void
tickOrder (property)
Signature
diff --git a/modules/core/2d/entities/i-renderable-2d.entity.ts/index.html b/modules/core/2d/entities/i-renderable-2d.entity.ts/index.html
index 5017ffd5..b0cbc0f4 100755
--- a/modules/core/2d/entities/i-renderable-2d.entity.ts/index.html
+++ b/modules/core/2d/entities/i-renderable-2d.entity.ts/index.html
@@ -555,7 +555,7 @@ Table of contents
utils
IRenderable2dEntity (class)
Signature
-export declare class IRenderable2dEntity<VS, PW>
+export declare class IRenderable2dEntity<TypeDoc, PTypeDoc>
diff --git a/modules/core/2d/entities/renderer-2d.entity.ts/index.html b/modules/core/2d/entities/renderer-2d.entity.ts/index.html
index cf5d37d7..0da81c3d 100755
--- a/modules/core/2d/entities/renderer-2d.entity.ts/index.html
+++ b/modules/core/2d/entities/renderer-2d.entity.ts/index.html
@@ -555,7 +555,7 @@ Table of contents
utils
Renderer2dEntity (class)
Signature
-export declare class Renderer2dEntity<RC>
+export declare class Renderer2dEntity<TypeDoc>
diff --git a/modules/core/2d/entities/trigger-2d.entity.ts/index.html b/modules/core/2d/entities/trigger-2d.entity.ts/index.html
index aedeed43..548ba474 100755
--- a/modules/core/2d/entities/trigger-2d.entity.ts/index.html
+++ b/modules/core/2d/entities/trigger-2d.entity.ts/index.html
@@ -571,7 +571,7 @@ Table of contents
utils
Trigger2dEntity (class)
Signature
-export declare class Trigger2dEntity {
+export declare class Trigger2dEntity<TypeDoc> {
constructor(public readonly objectBody: ITrigger2dComponent)
}
diff --git a/modules/core/2d/factories.ts/index.html b/modules/core/2d/factories.ts/index.html
index f247f190..2ffc8d12 100755
--- a/modules/core/2d/factories.ts/index.html
+++ b/modules/core/2d/factories.ts/index.html
@@ -514,11 +514,18 @@
-
- IGg2dObjectFactory (class)
+
+ DisplayObject2dOpts (type alias)
-
+
+
+
+
+ IDisplayObject2dComponentFactory (class)
+
+
+
@@ -526,6 +533,13 @@
createPrimitive (method)
+
+
+
+
+ randomColor (method)
+
+
@@ -583,8 +597,10 @@ Table of contents
utils
-IGg2dObjectFactory (class)
utils
-IGg2dObjectFactory (class)
+DisplayObject2dOpts (type alias)
+Signature
+export type DisplayObject2dOpts<Tex> = {
+ color?: number
+ texture?: Tex
+}
+
+IDisplayObject2dComponentFactory (class)
Signature
-export declare class IGg2dObjectFactory<T>
+export declare class IDisplayObject2dComponentFactory<TypeDoc>
createPrimitive (method)
Signature
-abstract createPrimitive(descriptor: Shape2DDescriptor): T;
+abstract createPrimitive(
+ descriptor: Shape2DDescriptor,
+ material?: DisplayObject2dOpts<TypeDoc['texture']>,
+ ): TypeDoc['displayObject'];
+
+randomColor (method)
+Signature
+randomColor(): number
createSquare (method)
Signature
-createSquare(dimensions: Point2): T
+createSquare(dimensions: Point2, material: DisplayObject2dOpts<TypeDoc['texture']> = {}): TypeDoc['displayObject']
createCircle (method)
Signature
-createCircle(radius: number): T
+createCircle(radius: number, material: DisplayObject2dOpts<TypeDoc['texture']> = {}): TypeDoc['displayObject']
IPhysicsBody2dComponentFactory (interface)
Signature
-export interface IPhysicsBody2dComponentFactory<
- T extends IRigidBody2dComponent = IRigidBody2dComponent,
- K extends ITrigger2dComponent = ITrigger2dComponent
-> {
- createRigidBody(descriptor: BodyShape2DDescriptor, transform?: { position?: Point2; rotation?: number }): T
-
- createTrigger(descriptor: Shape2DDescriptor, transform?: { position?: Point2; rotation?: number }): K
+export interface IPhysicsBody2dComponentFactory<TypeDoc extends PhysicsTypeDocRepo2D = PhysicsTypeDocRepo2D> {
+ createRigidBody(
+ descriptor: BodyShape2DDescriptor,
+ transform?: {
+ position?: Point2
+ rotation?: number
+ }
+ ): TypeDoc['rigidBody']
+
+ createTrigger(
+ descriptor: Shape2DDescriptor,
+ transform?: {
+ position?: Point2
+ rotation?: number
+ }
+ ): TypeDoc['trigger']
}
diff --git a/modules/core/2d/gg-2d-world.ts/index.html b/modules/core/2d/gg-2d-world.ts/index.html
index 8da18201..ddf9b0c0 100755
--- a/modules/core/2d/gg-2d-world.ts/index.html
+++ b/modules/core/2d/gg-2d-world.ts/index.html
@@ -538,6 +538,20 @@
+
+
+
+
+ PhysicsTypeDocRepo2D (type alias)
+
+
+
+
+
+
+ VisualTypeDocRepo2D (type alias)
+
+
@@ -574,22 +588,46 @@ Table of contents
addRenderer (method)
+PhysicsTypeDocRepo2D (type alias)
+VisualTypeDocRepo2D (type alias)
utils
Gg2dWorld (class)
Signature
-export declare class Gg2dWorld<V, P> {
- constructor(public readonly visualScene: V, public readonly physicsWorld: P)
+export declare class Gg2dWorld<VTypeDoc, PTypeDoc, VS, PW> {
+ constructor(public readonly visualScene: VS, public readonly physicsWorld: PW)
}
addPrimitiveRigidBody (method)
Signature
-addPrimitiveRigidBody(descr: BodyShape2DDescriptor, position: Point2 = Pnt2.O, rotation: number = 0): Entity2d<V, P>
+addPrimitiveRigidBody(
+ descr: BodyShape2DDescriptor,
+ position: Point2 = Pnt2.O,
+ rotation: number = 0,
+ material: DisplayObject2dOpts<VTypeDoc['texture']> = {},
+ ): Entity2d<VTypeDoc, PTypeDoc>
addRenderer (method)
Signature
-addRenderer(canvas?: HTMLCanvasElement, rendererOptions?: Partial<RendererOptions>): Renderer2dEntity
+addRenderer(canvas?: HTMLCanvasElement, rendererOptions?: Partial<RendererOptions>): Renderer2dEntity<VTypeDoc>
+
+PhysicsTypeDocRepo2D (type alias)
+Signature
+export type PhysicsTypeDocRepo2D = {
+ factory: IPhysicsBody2dComponentFactory
+ rigidBody: IRigidBody2dComponent
+ trigger: ITrigger2dComponent
+}
+
+VisualTypeDocRepo2D (type alias)
+Signature
+export type VisualTypeDocRepo2D = {
+ factory: IDisplayObject2dComponentFactory
+ displayObject: IDisplayObject2dComponent
+ renderer: IRenderer2dComponent
+ texture: unknown
+}
diff --git a/modules/core/3d/components/physics/i-physics-world-3d.component.ts/index.html b/modules/core/3d/components/physics/i-physics-world-3d.component.ts/index.html
index 19751a02..7c559fc3 100755
--- a/modules/core/3d/components/physics/i-physics-world-3d.component.ts/index.html
+++ b/modules/core/3d/components/physics/i-physics-world-3d.component.ts/index.html
@@ -555,9 +555,9 @@ Table of contents
utils
IPhysicsWorld3dComponent (interface)
Signature
-export interface IPhysicsWorld3dComponent extends IPhysicsWorldComponent<Point3, Point4> {
- readonly factory: IPhysicsBody3dComponentFactory
- readonly loader: IPhysicsBody3dComponentLoader
+export interface IPhysicsWorld3dComponent<TypeDoc extends PhysicsTypeDocRepo3D = PhysicsTypeDocRepo3D>
+ extends IPhysicsWorldComponent<Point3, Point4, TypeDoc> {
+ readonly loader: TypeDoc['loader']
}
diff --git a/modules/core/3d/components/physics/i-raycast-vehicle.component.ts/index.html b/modules/core/3d/components/physics/i-raycast-vehicle.component.ts/index.html
index ce919cd1..84609655 100755
--- a/modules/core/3d/components/physics/i-raycast-vehicle.component.ts/index.html
+++ b/modules/core/3d/components/physics/i-raycast-vehicle.component.ts/index.html
@@ -571,8 +571,8 @@ Table of contents
utils
IRaycastVehicleComponent (interface)
Signature
-export interface IRaycastVehicleComponent<PW extends IPhysicsWorld3dComponent = IPhysicsWorld3dComponent>
- extends IRigidBody3dComponent<PW> {
+export interface IRaycastVehicleComponent<TypeDoc extends PhysicsTypeDocRepo3D = PhysicsTypeDocRepo3D>
+ extends IRigidBody3dComponent<TypeDoc> {
SuspensionOptions (type alias)
Signature
diff --git a/modules/core/3d/components/physics/i-rigid-body-3d.component.ts/index.html b/modules/core/3d/components/physics/i-rigid-body-3d.component.ts/index.html
index adae7812..54ea1494 100755
--- a/modules/core/3d/components/physics/i-rigid-body-3d.component.ts/index.html
+++ b/modules/core/3d/components/physics/i-rigid-body-3d.component.ts/index.html
@@ -555,8 +555,8 @@ Table of contents
utils
IRigidBody3dComponent (interface)
Signature
-export interface IRigidBody3dComponent<PW extends IPhysicsWorld3dComponent = IPhysicsWorld3dComponent>
- extends IRigidBodyComponent<Point3, Point4, PW> {
+export interface IRigidBody3dComponent<TypeDoc extends PhysicsTypeDocRepo3D = PhysicsTypeDocRepo3D>
+ extends IRigidBodyComponent<Point3, Point4, TypeDoc> {
angularVelocity: Point3
}
diff --git a/modules/core/3d/components/physics/i-trigger-3d.component.ts/index.html b/modules/core/3d/components/physics/i-trigger-3d.component.ts/index.html
index cc4bae5f..67e4e5e1 100755
--- a/modules/core/3d/components/physics/i-trigger-3d.component.ts/index.html
+++ b/modules/core/3d/components/physics/i-trigger-3d.component.ts/index.html
@@ -555,8 +555,8 @@ Table of contents
utils
ITrigger3dComponent (interface)
Signature
-export interface ITrigger3dComponent<PW extends IPhysicsWorld3dComponent = IPhysicsWorld3dComponent>
- extends ITriggerComponent<Point3, Point4, PW> {
+export interface ITrigger3dComponent<TypeDoc extends PhysicsTypeDocRepo3D = PhysicsTypeDocRepo3D>
+ extends ITriggerComponent<Point3, Point4, TypeDoc> {
diff --git a/modules/core/3d/components/rendering/i-camera.component.ts/index.html b/modules/core/3d/components/rendering/i-camera.component.ts/index.html
index 3868a872..85d89dc9 100755
--- a/modules/core/3d/components/rendering/i-camera.component.ts/index.html
+++ b/modules/core/3d/components/rendering/i-camera.component.ts/index.html
@@ -555,8 +555,8 @@ Table of contents
utils
ICameraComponent (interface)
Signature
-export interface ICameraComponent<VS extends IVisualScene3dComponent = IVisualScene3dComponent>
- extends IDisplayObject3dComponent<VS> {
+export interface ICameraComponent<TypeDoc extends VisualTypeDocRepo3D = VisualTypeDocRepo3D>
+ extends IDisplayObject3dComponent<TypeDoc> {
diff --git a/modules/core/3d/components/rendering/i-display-object-3d.component.ts/index.html b/modules/core/3d/components/rendering/i-display-object-3d.component.ts/index.html
index bcfc2ac3..638dae2a 100755
--- a/modules/core/3d/components/rendering/i-display-object-3d.component.ts/index.html
+++ b/modules/core/3d/components/rendering/i-display-object-3d.component.ts/index.html
@@ -555,8 +555,8 @@ Table of contents
utils
IDisplayObject3dComponent (interface)
Signature
-export interface IDisplayObject3dComponent<VS extends IVisualScene3dComponent = IVisualScene3dComponent>
- extends IDisplayObjectComponent<Point3, Point4, VS> {}
+export interface IDisplayObject3dComponent<TypeDoc extends VisualTypeDocRepo3D = VisualTypeDocRepo3D>
+ extends IDisplayObjectComponent<Point3, Point4, TypeDoc> {}
diff --git a/modules/core/3d/components/rendering/i-renderer-3d.component.ts/index.html b/modules/core/3d/components/rendering/i-renderer-3d.component.ts/index.html
index e579ebce..b899a33d 100755
--- a/modules/core/3d/components/rendering/i-renderer-3d.component.ts/index.html
+++ b/modules/core/3d/components/rendering/i-renderer-3d.component.ts/index.html
@@ -571,11 +571,11 @@ Table of contents
utils
IRenderer3dComponent (class)
Signature
-export declare class IRenderer3dComponent<VS, CC>
+export declare class IRenderer3dComponent<TypeDoc>
camera (property)
Signature
-camera: CC
+camera: TypeDoc['camera']
diff --git a/modules/core/3d/components/rendering/i-visual-scene-3d.component.ts/index.html b/modules/core/3d/components/rendering/i-visual-scene-3d.component.ts/index.html
index 1a1d2e0e..7df5ee7e 100755
--- a/modules/core/3d/components/rendering/i-visual-scene-3d.component.ts/index.html
+++ b/modules/core/3d/components/rendering/i-visual-scene-3d.component.ts/index.html
@@ -555,15 +555,15 @@ Table of contents
utils
IVisualScene3dComponent (interface)
Signature
-export interface IVisualScene3dComponent extends IVisualSceneComponent<Point3, Point4> {
- readonly factory: IDisplayObject3dComponentFactory
- readonly loader: IDisplayObject3dComponentLoader
+export interface IVisualScene3dComponent<TypeDoc extends VisualTypeDocRepo3D = VisualTypeDocRepo3D>
+ extends IVisualSceneComponent<Point3, Point4, TypeDoc> {
+ readonly loader: TypeDoc['loader']
createRenderer(
- camera: ICameraComponent,
+ camera: TypeDoc['camera'],
canvas?: HTMLCanvasElement,
rendererOptions?: Partial<RendererOptions>
- ): IRenderer3dComponent
+ ): TypeDoc['renderer']
}
diff --git a/modules/core/3d/entities/controllers/animators/camera-3d.animator.ts/index.html b/modules/core/3d/entities/controllers/animators/camera-3d.animator.ts/index.html
index 2ef97e8a..b85d2730 100755
--- a/modules/core/3d/entities/controllers/animators/camera-3d.animator.ts/index.html
+++ b/modules/core/3d/entities/controllers/animators/camera-3d.animator.ts/index.html
@@ -596,13 +596,16 @@ Camera3dAnimationArgs (type alias)
Camera3dAnimator (class)
Signature
-export declare class Camera3dAnimator {
- constructor(public entity: Renderer3dEntity, protected _animationFunction: AnimationFunction<Camera3dAnimationArgs>)
+export declare class Camera3dAnimator<VTypeDoc> {
+ constructor(
+ public entity: Renderer3dEntity<VTypeDoc>,
+ protected _animationFunction: AnimationFunction<Camera3dAnimationArgs>
+ )
}
onSpawned (method)
Signature
-onSpawned(world: Gg3dWorld)
+onSpawned(world: Gg3dWorld<VTypeDoc>)
applyPositioning (method)
Signature
diff --git a/modules/core/3d/entities/entity-3d.ts/index.html b/modules/core/3d/entities/entity-3d.ts/index.html
index 34963df9..f2ddbcbe 100755
--- a/modules/core/3d/entities/entity-3d.ts/index.html
+++ b/modules/core/3d/entities/entity-3d.ts/index.html
@@ -587,10 +587,10 @@ Table of contents
utils
Entity3d (class)
Signature
-export declare class Entity3d<VS, PW> {
+export declare class Entity3d<VTypeDoc, PTypeDoc> {
constructor(
- public readonly object3D: IDisplayObject3dComponent | null,
- public readonly objectBody: IRigidBody3dComponent | null = null
+ public readonly object3D: VTypeDoc['displayObject'] | null,
+ public readonly objectBody: PTypeDoc['rigidBody'] | null = null
)
}
diff --git a/modules/core/3d/entities/gg-car/gg-car.entity.ts/index.html b/modules/core/3d/entities/gg-car/gg-car.entity.ts/index.html
index e6f53d28..57f06549 100755
--- a/modules/core/3d/entities/gg-car/gg-car.entity.ts/index.html
+++ b/modules/core/3d/entities/gg-car/gg-car.entity.ts/index.html
@@ -533,6 +533,13 @@
setTailLightsOn (method)
+
+
+
+
+ createRaycastVehicle (method)
+
+
@@ -642,6 +649,7 @@ Table of contents
GgCarEntity (class) export declare class GgCarEntity {
+export declare class GgCarEntity<VTypeDoc, PTypeDoc, RVEntity> {
constructor(
public readonly carProperties: GgCarProperties,
- chassis3D: IDisplayObject3dComponent | null,
- chassisBody: IRaycastVehicleComponent
+ chassis3D: VTypeDoc['displayObject'] | null,
+ chassisBody: PTypeDoc['raycastVehicle']
)
}
@@ -675,9 +683,17 @@ setTailLightsOn (method)
Signature
protected setTailLightsOn(value: boolean)
+createRaycastVehicle (method)
+Signature
+protected createRaycastVehicle(
+ carProperties: GgCarProperties,
+ chassis3D: VTypeDoc['displayObject'] | null,
+ chassisBody: PTypeDoc['raycastVehicle'],
+ ): RVEntity
+
onSpawned (method)
Signature
-onSpawned(world: Gg3dWorld)
+onSpawned(world: Gg3dWorld<VTypeDoc, PTypeDoc>)
updateEngine (method)
Signature
@@ -714,7 +730,7 @@ handBrake$ (property)
raycastVehicle (property)
Signature
-readonly raycastVehicle: RaycastVehicle3dEntity
+readonly raycastVehicle: RVEntity
GgCarProperties (type alias)
Signature
diff --git a/modules/core/3d/entities/i-renderable-3d.entity.ts/index.html b/modules/core/3d/entities/i-renderable-3d.entity.ts/index.html
index 9bcde1aa..30f9cc5a 100755
--- a/modules/core/3d/entities/i-renderable-3d.entity.ts/index.html
+++ b/modules/core/3d/entities/i-renderable-3d.entity.ts/index.html
@@ -555,7 +555,7 @@ Table of contents
utils
IRenderable3dEntity (class)
Signature
-export declare class IRenderable3dEntity<VS, PW>
+export declare class IRenderable3dEntity<TypeDoc, PTypeDoc>
diff --git a/modules/core/3d/entities/map-graph-3d.entity.ts/index.html b/modules/core/3d/entities/map-graph-3d.entity.ts/index.html
index 4b142f28..18ca2116 100755
--- a/modules/core/3d/entities/map-graph-3d.entity.ts/index.html
+++ b/modules/core/3d/entities/map-graph-3d.entity.ts/index.html
@@ -749,13 +749,13 @@ nodes (method)
MapGraph3dEntity (class)
Signature
-export declare class MapGraph3dEntity {
+export declare class MapGraph3dEntity<VTypeDoc, PTypeDoc> {
constructor(public readonly mapGraph: MapGraph, options: Partial<Gg3dMapGraphEntityOptions> = {})
}
onSpawned (method)
Signature
-onSpawned(world: Gg3dWorld)
+onSpawned(world: Gg3dWorld<VTypeDoc, PTypeDoc>)
onRemoved (method)
Signature
@@ -763,7 +763,9 @@ onRemoved (method)
loadChunk (method)
Signature
-protected async loadChunk(node: MapGraphNodeType): Promise<[Entity3d[], LoadResultWithProps]>
+protected async loadChunk(
+ node: MapGraphNodeType,
+ ): Promise<[Entity3d<VTypeDoc, PTypeDoc>[], LoadResultWithProps<VTypeDoc, PTypeDoc>]>
disposeChunk (method)
Signature
@@ -787,7 +789,7 @@ _chunkLoaded$ (property)
_world (property)
Signature
-_world: Gg3dWorld<IVisualScene3dComponent, IPhysicsWorld3dComponent> | null
+_world: Gg3dWorld<VTypeDoc, PTypeDoc, IVisualScene3dComponent<VTypeDoc>, IPhysicsWorld3dComponent<PTypeDoc>> | null
mapGraphNodes (property)
Signature
diff --git a/modules/core/3d/entities/raycast-vehicle-3d.entity.ts/index.html b/modules/core/3d/entities/raycast-vehicle-3d.entity.ts/index.html
index 370b1fcf..6594a201 100755
--- a/modules/core/3d/entities/raycast-vehicle-3d.entity.ts/index.html
+++ b/modules/core/3d/entities/raycast-vehicle-3d.entity.ts/index.html
@@ -725,7 +725,7 @@ RVEntitySharedWheelOptions (type
RaycastVehicle3dEntity (class)
Signature
-export declare class RaycastVehicle3dEntity {
+export declare class RaycastVehicle3dEntity<VTypeDoc, PTypeDoc> {
constructor(
public readonly carProperties: RVEntityProperties,
public readonly chassis3D: IDisplayObject3dComponent | null,
@@ -760,7 +760,7 @@ resetTo (method)
wheels (property)
Signature
-readonly wheels: ((IEntity<any, any, IVisualSceneComponent<any, any>, IPhysicsWorldComponent<any, any>> & IPositionable3d) | null)[]
+readonly wheels: (Entity3d<VTypeDoc, PTypeDoc> | null)[]
wheelLocalRotation (property)
Signature
diff --git a/modules/core/3d/entities/renderer-3d.entity.ts/index.html b/modules/core/3d/entities/renderer-3d.entity.ts/index.html
index 57607039..187c856d 100755
--- a/modules/core/3d/entities/renderer-3d.entity.ts/index.html
+++ b/modules/core/3d/entities/renderer-3d.entity.ts/index.html
@@ -555,7 +555,7 @@ Table of contents
utils
Renderer3dEntity (class)
Signature
-export declare class Renderer3dEntity<VS, CC, RC>
+export declare class Renderer3dEntity<TypeDoc>
diff --git a/modules/core/3d/entities/trigger-3d.entity.ts/index.html b/modules/core/3d/entities/trigger-3d.entity.ts/index.html
index 5f7aab67..208936be 100755
--- a/modules/core/3d/entities/trigger-3d.entity.ts/index.html
+++ b/modules/core/3d/entities/trigger-3d.entity.ts/index.html
@@ -571,7 +571,7 @@ Table of contents
utils
Trigger3dEntity (class)
Signature
-export declare class Trigger3dEntity {
+export declare class Trigger3dEntity<TypeDoc> {
constructor(public readonly objectBody: ITrigger3dComponent)
}
diff --git a/modules/core/3d/factories.ts/index.html b/modules/core/3d/factories.ts/index.html
index 4d583d43..12194402 100755
--- a/modules/core/3d/factories.ts/index.html
+++ b/modules/core/3d/factories.ts/index.html
@@ -513,6 +513,13 @@
+
+
+ DisplayObject3dOpts (type alias)
+
+
+
+
IDisplayObject3dComponentFactory (class)
@@ -526,6 +533,27 @@
createPrimitive (method)
+
+
+
+
+ createPerspectiveCamera (method)
+
+
+
+
+
+
+ randomColor (method)
+
+
+
+
+
+
+ createPlane (method)
+
+
@@ -604,8 +632,12 @@ Table of contents
utils
+DisplayObject3dOpts (type alias)
IDisplayObject3dComponentFactory (class)
utils
+DisplayObject3dOpts (type alias)
+Signature
+export type DisplayObject3dOpts<Tex> = {
+ color?: number
+ shading?: 'unlit' | 'standart' | 'phong'
+ diffuse?: Tex
+ castShadow?: boolean
+ receiveShadow?: boolean
+}
+
IDisplayObject3dComponentFactory (class)
Signature
-export declare class IDisplayObject3dComponentFactory<DOC>
+export declare class IDisplayObject3dComponentFactory<TypeDoc>
createPrimitive (method)
Signature
-abstract createPrimitive(descriptor: Shape3DDescriptor, material?: any): DOC;
+abstract createPrimitive(
+ descriptor: Shape3DDescriptor,
+ material?: DisplayObject3dOpts<TypeDoc['texture']>,
+ ): TypeDoc['displayObject'];
+
+createPerspectiveCamera (method)
+Signature
+abstract createPerspectiveCamera(settings: {
+ fov?: number;
+ aspectRatio?: number;
+ frustrum?: { near: number; far: number };
+ }): TypeDoc['camera'];
+
+randomColor (method)
+Signature
+randomColor(): number
+
+createPlane (method)
+Signature
+createPlane(material: DisplayObject3dOpts<TypeDoc['texture']> = {}): TypeDoc['displayObject']
createBox (method)
Signature
-createBox(dimensions: Point3, material?: any): DOC
+createBox(dimensions: Point3, material: DisplayObject3dOpts<TypeDoc['texture']> = {}): TypeDoc['displayObject']
createCapsule (method)
Signature
-createCapsule(radius: number, centersDistance: number, material?: any): DOC
+createCapsule(
+ radius: number,
+ centersDistance: number,
+ material: DisplayObject3dOpts<TypeDoc['texture']> = {},
+ ): TypeDoc['displayObject']
createCylinder (method)
Signature
-createCylinder(radius: number, height: number, material?: any): DOC
+createCylinder(
+ radius: number,
+ height: number,
+ material: DisplayObject3dOpts<TypeDoc['texture']> = {},
+ ): TypeDoc['displayObject']
createCone (method)
Signature
-createCone(radius: number, height: number, material?: any): DOC
+createCone(
+ radius: number,
+ height: number,
+ material: DisplayObject3dOpts<TypeDoc['texture']> = {},
+ ): TypeDoc['displayObject']
createSphere (method)
Signature
-createSphere(radius: number): DOC
+createSphere(radius: number, material: DisplayObject3dOpts<TypeDoc['texture']> = {}): TypeDoc['displayObject']
IPhysicsBody3dComponentFactory (interface)
Signature
-export interface IPhysicsBody3dComponentFactory<
- T extends IRigidBody3dComponent = IRigidBody3dComponent,
- K extends ITrigger3dComponent = ITrigger3dComponent
-> {
- createRigidBody(descriptor: BodyShape3DDescriptor, transform?: { position?: Point3; rotation?: Point4 }): T
-
- createTrigger(descriptor: Shape3DDescriptor, transform?: { position?: Point3; rotation?: Point4 }): K
+export interface IPhysicsBody3dComponentFactory<TypeDoc extends PhysicsTypeDocRepo3D = PhysicsTypeDocRepo3D> {
+ createRigidBody(
+ descriptor: BodyShape3DDescriptor,
+ transform?: {
+ position?: Point3
+ rotation?: Point4
+ }
+ ): TypeDoc['rigidBody']
+
+ createTrigger(
+ descriptor: Shape3DDescriptor,
+ transform?: {
+ position?: Point3
+ rotation?: Point4
+ }
+ ): TypeDoc['trigger']
+
+ createRaycastVehicle(chassis: TypeDoc['rigidBody']): TypeDoc['raycastVehicle']
}
diff --git a/modules/core/3d/gg-3d-world.ts/index.html b/modules/core/3d/gg-3d-world.ts/index.html
index 537d61ca..44be87fe 100755
--- a/modules/core/3d/gg-3d-world.ts/index.html
+++ b/modules/core/3d/gg-3d-world.ts/index.html
@@ -545,6 +545,20 @@
+
+
+
+
+ PhysicsTypeDocRepo3D (type alias)
+
+
+
+
+
+
+ VisualTypeDocRepo3D (type alias)
+
+
@@ -582,13 +596,15 @@ Table of contents
loader (property)
+PhysicsTypeDocRepo3D (type alias)
+VisualTypeDocRepo3D (type alias)
utils
Gg3dWorld (class)
Signature
-export declare class Gg3dWorld<V, P> {
- constructor(public readonly visualScene: V, public readonly physicsWorld: P)
+export declare class Gg3dWorld<VTypeDoc, PTypeDoc, VS, PW> {
+ constructor(public readonly visualScene: VS, public readonly physicsWorld: PW)
}
addPrimitiveRigidBody (method)
@@ -597,18 +613,41 @@ addPrimitiveRigidBody (method)
descr: BodyShape3DDescriptor,
position: Point3 = Pnt3.O,
rotation: Point4 = Qtrn.O,
- ): Entity3d<V, P>
+ material: DisplayObject3dOpts<VTypeDoc['texture']> = {},
+ ): Entity3d<VTypeDoc, PTypeDoc>
addRenderer (method)
Signature
-addRenderer<
- CC extends ICameraComponent<V> = ICameraComponent<V>,
- RC extends IRenderer3dComponent<V, CC> = IRenderer3dComponent<V, CC>,
- >(camera: CC, canvas?: HTMLCanvasElement, rendererOptions?: Partial<RendererOptions>): Renderer3dEntity<V, CC, RC>
+addRenderer(
+ camera: VTypeDoc['camera'],
+ canvas?: HTMLCanvasElement,
+ rendererOptions?: Partial<RendererOptions>,
+ ): Renderer3dEntity<VTypeDoc>
loader (property)
Signature
-readonly loader: Gg3dLoader
+readonly loader: Gg3dLoader<VTypeDoc, PTypeDoc>
+
+PhysicsTypeDocRepo3D (type alias)
+Signature
+export type PhysicsTypeDocRepo3D = {
+ factory: IPhysicsBody3dComponentFactory
+ loader: IPhysicsBody3dComponentLoader
+ rigidBody: IRigidBody3dComponent
+ trigger: ITrigger3dComponent
+ raycastVehicle: IRaycastVehicleComponent
+}
+
+VisualTypeDocRepo3D (type alias)
+Signature
+export type VisualTypeDocRepo3D = {
+ factory: IDisplayObject3dComponentFactory
+ loader: IDisplayObject3dComponentLoader
+ displayObject: IDisplayObject3dComponent
+ renderer: IRenderer3dComponent
+ camera: ICameraComponent
+ texture: unknown
+}
diff --git a/modules/core/3d/loader.ts/index.html b/modules/core/3d/loader.ts/index.html
index 60aaa3e9..78399d71 100755
--- a/modules/core/3d/loader.ts/index.html
+++ b/modules/core/3d/loader.ts/index.html
@@ -635,7 +635,7 @@ Table of contents
utils
Gg3dLoader (class)
Signature
-export declare class Gg3dLoader {
+export declare class Gg3dLoader<VTypeDoc, PTypeDoc> {
constructor(protected readonly world: Gg3dWorld)
}
@@ -648,14 +648,14 @@ loadGgGlbResources (method)
public async loadGgGlbResources(
path: string,
cachingStrategy: CachingStrategy = CachingStrategy.Nothing,
- ): Promise<LoadResourcesResult>
+ ): Promise<LoadResourcesResult<VTypeDoc, PTypeDoc>>
loadGgGlb (method)
Signature
public async loadGgGlb(
path: string,
options: Partial<LoadOptions> = defaultLoadOptions,
- ): Promise<LoadResultWithProps>
+ ): Promise<LoadResultWithProps<VTypeDoc, PTypeDoc>>
filesCache (property)
Signature
@@ -685,21 +685,30 @@ LoadOptions (type alias)
LoadResourcesResult (type alias)
Signature
-export type LoadResourcesResult = {
- resources: { object3D: IDisplayObject3dComponent | null; body: IRigidBody3dComponent | null }[]
+export type LoadResourcesResult<
+ VTypeDoc extends VisualTypeDocRepo3D = VisualTypeDocRepo3D,
+ PTypeDoc extends PhysicsTypeDocRepo3D = PhysicsTypeDocRepo3D
+> = {
+ resources: { object3D: VTypeDoc['displayObject'] | null; body: PTypeDoc['rigidBody'] | null }[]
meta: GgMeta
}
LoadResult (type alias)
Signature
-export type LoadResult = {
- entities: Entity3d[]
+export type LoadResult<
+ VTypeDoc extends VisualTypeDocRepo3D = VisualTypeDocRepo3D,
+ PTypeDoc extends PhysicsTypeDocRepo3D = PhysicsTypeDocRepo3D
+> = {
+ entities: Entity3d<VTypeDoc, PTypeDoc>[]
meta: GgMeta
}
LoadResultWithProps (type alias)
Signature
-export type LoadResultWithProps = LoadResult & { props?: LoadResult[] }
+export type LoadResultWithProps<
+ VTypeDoc extends VisualTypeDocRepo3D = VisualTypeDocRepo3D,
+ PTypeDoc extends PhysicsTypeDocRepo3D = PhysicsTypeDocRepo3D
+> = LoadResult<VTypeDoc, PTypeDoc> & { props?: LoadResult<VTypeDoc, PTypeDoc>[] }
diff --git a/modules/core/3d/loaders.ts/index.html b/modules/core/3d/loaders.ts/index.html
index d04d9cc1..d37d1383 100755
--- a/modules/core/3d/loaders.ts/index.html
+++ b/modules/core/3d/loaders.ts/index.html
@@ -579,19 +579,19 @@ Table of contents
utils
IDisplayObject3dComponentLoader (interface)
Signature
-export interface IDisplayObject3dComponentLoader {
- loadFromGgGlb(glbFile: ArrayBuffer, meta: GgMeta): Promise<IDisplayObject3dComponent | null>
+export interface IDisplayObject3dComponentLoader<TypeDoc extends VisualTypeDocRepo3D = VisualTypeDocRepo3D> {
+ loadFromGgGlb(glbFile: ArrayBuffer, meta: GgMeta): Promise<TypeDoc['displayObject'] | null>
}
IPhysicsBody3dComponentLoader (class)
Signature
-export declare class IPhysicsBody3dComponentLoader {
+export declare class IPhysicsBody3dComponentLoader<TypeDoc> {
protected constructor(protected readonly world: IPhysicsWorld3dComponent)
}
loadFromGgGlb (method)
Signature
-async loadFromGgGlb(glbFile: ArrayBuffer, meta: GgMeta): Promise<IRigidBody3dComponent[]>
+async loadFromGgGlb(glbFile: ArrayBuffer, meta: GgMeta): Promise<TypeDoc['rigidBody'][]>
diff --git a/modules/core/3d/models/shapes.ts/index.html b/modules/core/3d/models/shapes.ts/index.html
index 3ef4e0ce..94c9239c 100755
--- a/modules/core/3d/models/shapes.ts/index.html
+++ b/modules/core/3d/models/shapes.ts/index.html
@@ -568,6 +568,7 @@ BodyShape3DDescriptor (type alias) Shape3DDescriptor (type alias)
Signature
export type Shape3DDescriptor =
+ | { shape: 'PLANE' }
| { shape: 'BOX'; dimensions: Point3 }
| { shape: 'CONE' | 'CYLINDER'; radius: number; height: number }
| { shape: 'CAPSULE'; radius: number; centersDistance: number }
diff --git a/modules/core/base/components/i-world-component.ts/index.html b/modules/core/base/components/i-world-component.ts/index.html
index 48ea72ca..ffe1f739 100755
--- a/modules/core/base/components/i-world-component.ts/index.html
+++ b/modules/core/base/components/i-world-component.ts/index.html
@@ -558,12 +558,15 @@ IWorldComponent (interface)
export interface IWorldComponent<
D,
R,
- V extends IVisualSceneComponent<D, R> = IVisualSceneComponent<D, R>,
- P extends IPhysicsWorldComponent<D, R> = IPhysicsWorldComponent<D, R>
+ VTypeDoc extends VisualTypeDocRepo<D, R> = VisualTypeDocRepo<D, R>,
+ PTypeDoc extends PhysicsTypeDocRepo<D, R> = PhysicsTypeDocRepo<D, R>
> {
entity: IEntity | null
- addToWorld(world: GgWorld<D, R, V, P>): void
- removeFromWorld(world: GgWorld<D, R, V, P>, dispose?: boolean): void
+
+ addToWorld(world: GgWorld<D, R, VTypeDoc, PTypeDoc>): void
+
+ removeFromWorld(world: GgWorld<D, R, VTypeDoc, PTypeDoc>, dispose?: boolean): void
+
dispose(): void
}
diff --git a/modules/core/base/components/physics/i-body.component.ts/index.html b/modules/core/base/components/physics/i-body.component.ts/index.html
index ba0790b3..edd1850e 100755
--- a/modules/core/base/components/physics/i-body.component.ts/index.html
+++ b/modules/core/base/components/physics/i-body.component.ts/index.html
@@ -555,21 +555,14 @@ Table of contents
utils
IBodyComponent (interface)
Signature
-export interface IBodyComponent<D, R, PW extends IPhysicsWorldComponent<D, R> = IPhysicsWorldComponent<D, R>>
- extends IWorldComponent<D, R, IVisualSceneComponent<D, R>, PW> {
- entity: IEntity | null
+export interface IBodyComponent<D, R, TypeDoc extends PhysicsTypeDocRepo<D, R> = PhysicsTypeDocRepo<D, R>>
+ extends IWorldComponent<D, R, VisualTypeDocRepo<D, R>, TypeDoc> {
+ entity: IEntity | null;
- position: D
- rotation: R
+ position: D;
+ rotation: R;
- name: string
-
- clone(): IBodyComponent<D, R, PW>
-
- addToWorld(world: GgWorld<D, R, IVisualSceneComponent<D, R>, PW>): void
-
- removeFromWorld(world: GgWorld<D, R, IVisualSceneComponent<D, R>, PW>): void
-}
+ name: string;
diff --git a/modules/core/base/components/physics/i-physics-world.component.ts/index.html b/modules/core/base/components/physics/i-physics-world.component.ts/index.html
index 6fd19b47..e0ee6516 100755
--- a/modules/core/base/components/physics/i-physics-world.component.ts/index.html
+++ b/modules/core/base/components/physics/i-physics-world.component.ts/index.html
@@ -555,8 +555,9 @@ Table of contents
utils
IPhysicsWorldComponent (interface)
Signature
-export interface IPhysicsWorldComponent<D, R> extends IComponent {
- readonly factory: any; // type defined in sub-interfaces
+export interface IPhysicsWorldComponent<D, R, TypeDoc extends PhysicsTypeDocRepo<D, R> = PhysicsTypeDocRepo<D, R>>
+ extends IComponent {
+ readonly factory: TypeDoc['factory'];
gravity: D;
timeScale: number;
diff --git a/modules/core/base/components/physics/i-rigid-body.component.ts/index.html b/modules/core/base/components/physics/i-rigid-body.component.ts/index.html
index 0ce33086..43cdfb4f 100755
--- a/modules/core/base/components/physics/i-rigid-body.component.ts/index.html
+++ b/modules/core/base/components/physics/i-rigid-body.component.ts/index.html
@@ -555,12 +555,12 @@ Table of contents
utils
IRigidBodyComponent (interface)
Signature
-export interface IRigidBodyComponent<D, R, PW extends IPhysicsWorldComponent<D, R> = IPhysicsWorldComponent<D, R>>
- extends IBodyComponent<D, R, PW> {
+export interface IRigidBodyComponent<D, R, TypeDoc extends PhysicsTypeDocRepo<D, R> = PhysicsTypeDocRepo<D, R>>
+ extends IBodyComponent<D, R, TypeDoc> {
linearVelocity: D
angularVelocity: R | D
- clone(): IRigidBodyComponent<D, R, PW>
+ clone(): IRigidBodyComponent<D, R, TypeDoc>
/** clear velocities etc. */
resetMotion(): void
diff --git a/modules/core/base/components/physics/i-trigger.component.ts/index.html b/modules/core/base/components/physics/i-trigger.component.ts/index.html
index 5f13a233..32779541 100755
--- a/modules/core/base/components/physics/i-trigger.component.ts/index.html
+++ b/modules/core/base/components/physics/i-trigger.component.ts/index.html
@@ -555,8 +555,8 @@ Table of contents
utils
ITriggerComponent (interface)
Signature
-export interface ITriggerComponent<D, R, PW extends IPhysicsWorldComponent<D, R> = IPhysicsWorldComponent<D, R>>
- extends IBodyComponent<D, R, PW> {
+export interface ITriggerComponent<D, R, TypDoc extends PhysicsTypeDocRepo<D, R> = PhysicsTypeDocRepo<D, R>>
+ extends IBodyComponent<D, R, TypDoc> {
diff --git a/modules/core/base/components/rendering/i-display-object.component.ts/index.html b/modules/core/base/components/rendering/i-display-object.component.ts/index.html
index a2b312f1..1aee6fe8 100755
--- a/modules/core/base/components/rendering/i-display-object.component.ts/index.html
+++ b/modules/core/base/components/rendering/i-display-object.component.ts/index.html
@@ -555,8 +555,8 @@ Table of contents
utils
IDisplayObjectComponent (interface)
Signature
-export interface IDisplayObjectComponent<D, R, VS extends IVisualSceneComponent<D, R> = IVisualSceneComponent<D, R>>
- extends IWorldComponent<D, R, VS> {
+export interface IDisplayObjectComponent<D, R, TypeDoc extends VisualTypeDocRepo<D, R> = VisualTypeDocRepo<D, R>>
+ extends IWorldComponent<D, R, TypeDoc> {
position: D
rotation: R
scale: D
@@ -567,15 +567,15 @@ IDisplayObjectComponent (interface)
isEmpty(): boolean
- popChild(name: string): IDisplayObjectComponent<D, R, VS> | null
+ popChild(name: string): IDisplayObjectComponent<D, R, TypeDoc> | null
getBoundings(): GgBox<D>
- clone(): IDisplayObjectComponent<D, R, VS>
+ clone(): IDisplayObjectComponent<D, R, TypeDoc>
- addToWorld(world: GgWorld<D, R, VS>): void
+ addToWorld(world: GgWorld<D, R, TypeDoc>): void
- removeFromWorld(world: GgWorld<D, R, VS>): void
+ removeFromWorld(world: GgWorld<D, R, TypeDoc>): void
}
diff --git a/modules/core/base/components/rendering/i-renderer.component.ts/index.html b/modules/core/base/components/rendering/i-renderer.component.ts/index.html
index db228237..cd71d8fa 100755
--- a/modules/core/base/components/rendering/i-renderer.component.ts/index.html
+++ b/modules/core/base/components/rendering/i-renderer.component.ts/index.html
@@ -627,9 +627,9 @@ Table of contents
utils
IRendererComponent (class)
Signature
-export declare class IRendererComponent<D, R, VS> {
+export declare class IRendererComponent<D, R, VTypeDoc> {
protected constructor(
- public readonly scene: VS,
+ public readonly scene: IVisualSceneComponent<D, R, VTypeDoc>,
public readonly canvas?: HTMLCanvasElement,
options: Partial<RendererOptions> = {}
)
@@ -642,11 +642,11 @@ render (method)
addToWorld (method)
Signature
-abstract addToWorld(world: GgWorld<D, R, VS, any>): void;
+abstract addToWorld(world: GgWorld<D, R, VTypeDoc>): void;
removeFromWorld (method)
Signature
-abstract removeFromWorld(world: GgWorld<D, R, VS, any>): void;
+abstract removeFromWorld(world: GgWorld<D, R, VTypeDoc>): void;
resizeRenderer (method)
Resizes the renderer to the specified size.
@@ -659,7 +659,7 @@ dispose (method)
entity (property)
Signature
-entity: IEntity<any, any, IVisualSceneComponent<any, any>, IPhysicsWorldComponent<any, any>> | null
+entity: IEntity<any, any, VisualTypeDocRepo<any, any>, PhysicsTypeDocRepo<any, any>> | null
rendererOptions (property)
Specifies the options for the renderer.
diff --git a/modules/core/base/components/rendering/i-visual-scene.component.ts/index.html b/modules/core/base/components/rendering/i-visual-scene.component.ts/index.html
index f5e69972..a8cdfa5d 100755
--- a/modules/core/base/components/rendering/i-visual-scene.component.ts/index.html
+++ b/modules/core/base/components/rendering/i-visual-scene.component.ts/index.html
@@ -555,10 +555,11 @@ Table of contents
utils
IVisualSceneComponent (interface)
Signature
-export interface IVisualSceneComponent<D, R> extends IComponent {
- readonly factory: any // type defined in sub-interfaces
+export interface IVisualSceneComponent<D, R, TypeDoc extends VisualTypeDocRepo<D, R> = VisualTypeDocRepo<D, R>>
+ extends IComponent {
+ readonly factory: TypeDoc['factory']
- readonly debugPhysicsDrawerClass?: { new (): IDebugPhysicsDrawer<D, R> }
+ readonly debugPhysicsDrawerClass?: { new (): IDebugPhysicsDrawer<D, R, TypeDoc> }
init(): Promise<void>
}
diff --git a/modules/core/base/data-structures/bitmask.ts/index.html b/modules/core/base/data-structures/bitmask.ts/index.html
new file mode 100755
index 00000000..db2f09d5
--- /dev/null
+++ b/modules/core/base/data-structures/bitmask.ts/index.html
@@ -0,0 +1,667 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ core/base/data-structures/bitmask.ts - GG-web-engine
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+bitmask overview
+BitMask class provides static methods to manipulate bits in a number.
+
+Table of contents
+
+
+
+utils
+BitMask (class)
+BitMask class provides static methods to manipulate bits in a number.
+Signature
+export declare class BitMask
+
+full (static method)
+Generates a bitmask with all bits set to 1 upto the provided bit count
+Signature
+static full(bits: number)
+
+fullArray (static method)
+Generates an array with elements being consecutive numbers starting from 0 up to the provided number
+Signature
+static fullArray(bits: number)
+
+pack (static method)
+Packs an array of bit indices into a single number
+Signature
+static pack(value: number[], bits: number)
+
+unpack (static method)
+Unpacks a bitmask into an array of bit indices
+Signature
+static unpack(mask: number, bits: number)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/modules/core/base/data-structures/index.html b/modules/core/base/data-structures/index.html
index 7cdaacfa..4f4c8b41 100755
--- a/modules/core/base/data-structures/index.html
+++ b/modules/core/base/data-structures/index.html
@@ -508,6 +508,7 @@ Modules
Directory table of contents
diff --git a/modules/core/base/entities/controllers/animation-mixer.ts/index.html b/modules/core/base/entities/controllers/animation-mixer.ts/index.html
index cd56b556..4c79b22b 100755
--- a/modules/core/base/entities/controllers/animation-mixer.ts/index.html
+++ b/modules/core/base/entities/controllers/animation-mixer.ts/index.html
@@ -627,7 +627,7 @@ AnimationMixer (class)
The current value of the animation can be subscribed to using the subscribeToValue
property.
The animation function can be changed with transitAnimationFunction
or transitFromStaticState
.
Signature
-export declare class AnimationMixer<T> {
+export declare class AnimationMixer<T, D, R, VTypeDoc, PTypeDoc> {
constructor(
protected _animationFunction: AnimationFunction<T>,
protected _lerp: (a: T, b: T, t: number) => T = (a, b, t) => b
@@ -655,7 +655,7 @@ transitAnimationFunction (method)
onSpawned (method)
Signature
-onSpawned(world: GgWorld<any, any>)
+onSpawned(world: GgWorld<D, R, VTypeDoc, PTypeDoc>)
dispose (method)
Signature
diff --git a/modules/core/base/entities/i-entity.ts/index.html b/modules/core/base/entities/i-entity.ts/index.html
index a6b532fe..f3d0fc3c 100755
--- a/modules/core/base/entities/i-entity.ts/index.html
+++ b/modules/core/base/entities/i-entity.ts/index.html
@@ -683,7 +683,7 @@ Table of contents
utils
IEntity (class)
Signature
-export declare class IEntity<D, R, V, P>
+export declare class IEntity<D, R, VTypeDoc, PTypeDoc>
addChildren (method)
Signature
@@ -695,15 +695,15 @@ removeChildren (method)
addComponents (method)
Signature
-public addComponents(...components: IWorldComponent<D, R, V, P>[])
+public addComponents(...components: IWorldComponent<D, R, VTypeDoc, PTypeDoc>[])
removeComponents (method)
Signature
-public removeComponents(components: IWorldComponent<D, R, V, P>[], dispose: boolean = false)
+public removeComponents(components: IWorldComponent<D, R, VTypeDoc, PTypeDoc>[], dispose: boolean = false)
onSpawned (method)
Signature
-public onSpawned(world: GgWorld<D, R, V, P>)
+public onSpawned(world: GgWorld<D, R, VTypeDoc, PTypeDoc>)
onRemoved (method)
Signature
@@ -726,7 +726,14 @@ tickOrder (property)
_world (property)
a world reference, where this entity was added to
Signature
-_world: GgWorld<D, R, V, P> | null
+_world: GgWorld<
+ D,
+ R,
+ VTypeDoc,
+ PTypeDoc,
+ IVisualSceneComponent<D, R, VTypeDoc>,
+ IPhysicsWorldComponent<D, R, PTypeDoc>
+> | null
_name (property)
Signature
@@ -739,7 +746,7 @@ _active (property)
parent (property)
Signature
-parent: IEntity<any, any, IVisualSceneComponent<any, any>, IPhysicsWorldComponent<any, any>> | null
+parent: IEntity<any, any, VisualTypeDocRepo<any, any>, PhysicsTypeDocRepo<any, any>> | null
_onSpawned$ (property)
Signature
diff --git a/modules/core/base/entities/i-renderable.entity.ts/index.html b/modules/core/base/entities/i-renderable.entity.ts/index.html
index ae5ad6ce..73fabe07 100755
--- a/modules/core/base/entities/i-renderable.entity.ts/index.html
+++ b/modules/core/base/entities/i-renderable.entity.ts/index.html
@@ -587,7 +587,7 @@ Table of contents
utils
IRenderableEntity (class)
Signature
-export declare class IRenderableEntity<D, R, V, P>
+export declare class IRenderableEntity<D, R, TypeDoc, PTypeDoc>
updateVisibility (method)
Signature
diff --git a/modules/core/base/entities/i-renderer.entity.ts/index.html b/modules/core/base/entities/i-renderer.entity.ts/index.html
index 83489418..7ae1fc4b 100755
--- a/modules/core/base/entities/i-renderer.entity.ts/index.html
+++ b/modules/core/base/entities/i-renderer.entity.ts/index.html
@@ -596,13 +596,13 @@ utils
IRendererEntity (class)
Represents a base class for a renderer entity.
Signature
-export declare class IRendererEntity<D, R, VS, RC> {
- constructor(public readonly renderer: RC)
+export declare class IRendererEntity<D, R, TypeDoc> {
+ constructor(public readonly renderer: TypeDoc['renderer'])
}
onSpawned (method)
Signature
-onSpawned(world: GgWorld<D, R, VS, any>)
+onSpawned(world: GgWorld<D, R, TypeDoc>)
dispose (method)
Signature
diff --git a/modules/core/base/gg-world.ts/index.html b/modules/core/base/gg-world.ts/index.html
index 5b73ae41..1fce3014 100755
--- a/modules/core/base/gg-world.ts/index.html
+++ b/modules/core/base/gg-world.ts/index.html
@@ -622,6 +622,20 @@
+
+
+
+
+ PhysicsTypeDocRepo (type alias)
+
+
+
+
+
+
+ VisualTypeDocRepo (type alias)
+
+
@@ -670,13 +684,15 @@ Table of contents
tickListeners (property)
+PhysicsTypeDocRepo (type alias)
+VisualTypeDocRepo (type alias)
utils
GgWorld (class)
Signature
-export declare class GgWorld<D, R, V, P> {
- protected constructor(public readonly visualScene: V, public readonly physicsWorld: P)
+export declare class GgWorld<D, R, VTypeDoc, PTypeDoc, VS, PW> {
+ protected constructor(public readonly visualScene: VS, public readonly physicsWorld: PW)
}
init (method)
@@ -706,10 +722,11 @@ dispose (method)
addPrimitiveRigidBody (method)
Signature
abstract addPrimitiveRigidBody(
- descr: any,
+ descr: unknown, // type defined in subclasses
position?: D,
rotation?: R,
- ): IPositionable<D, R> & IRenderableEntity<D, R, V, P>;
+ material?: unknown, // type defined in subclasses
+ ): IPositionable<D, R> & IRenderableEntity<D, R, VTypeDoc>;
addEntity (method)
Signature
@@ -733,11 +750,27 @@ name (property)
children (property)
Signature
-readonly children: IEntity<any, any, IVisualSceneComponent<any, any>, IPhysicsWorldComponent<any, any>>[]
+readonly children: IEntity<any, any, VisualTypeDocRepo<any, any>, PhysicsTypeDocRepo<any, any>>[]
tickListeners (property)
Signature
-readonly tickListeners: IEntity<any, any, IVisualSceneComponent<any, any>, IPhysicsWorldComponent<any, any>>[]
+readonly tickListeners: IEntity<any, any, VisualTypeDocRepo<any, any>, PhysicsTypeDocRepo<any, any>>[]
+
+PhysicsTypeDocRepo (type alias)
+Signature
+export type PhysicsTypeDocRepo<D, R> = {
+ factory: unknown
+ rigidBody: IRigidBodyComponent<D, R>
+ trigger: ITriggerComponent<D, R>
+}
+
+VisualTypeDocRepo (type alias)
+Signature
+export type VisualTypeDocRepo<D, R> = {
+ factory: unknown
+ displayObject: IDisplayObjectComponent<D, R>
+ renderer: IRendererComponent<D, R>
+}
diff --git a/modules/core/base/interfaces/i-debug-physics-drawer.ts/index.html b/modules/core/base/interfaces/i-debug-physics-drawer.ts/index.html
index bba451f7..ad6b18e3 100755
--- a/modules/core/base/interfaces/i-debug-physics-drawer.ts/index.html
+++ b/modules/core/base/interfaces/i-debug-physics-drawer.ts/index.html
@@ -555,8 +555,8 @@ Table of contents
utils
IDebugPhysicsDrawer (interface)
Signature
-export interface IDebugPhysicsDrawer<D, R, VS extends IVisualSceneComponent<D, R> = IVisualSceneComponent<D, R>>
- extends IDisplayObjectComponent<D, R, VS> {
+export interface IDebugPhysicsDrawer<D, R, TypeDoc extends VisualTypeDocRepo<D, R> = VisualTypeDocRepo<D, R>>
+ extends IDisplayObjectComponent<D, R, TypeDoc> {
drawContactPoint(point: D, normal: D, color?: Point3): void
drawLine(from: D, to: D, color?: Point3): void
diff --git a/modules/core/base/math/quaternion.ts/index.html b/modules/core/base/math/quaternion.ts/index.html
index 5463b607..3e4df9c9 100755
--- a/modules/core/base/math/quaternion.ts/index.html
+++ b/modules/core/base/math/quaternion.ts/index.html
@@ -540,6 +540,20 @@
mult (static method)
+
+
+
+
+ conjugate (static method)
+
+
+
+
+
+
+ opposite (static method)
+
+
@@ -643,6 +657,8 @@ Table of contents
clone (static method)
add (static method)
mult (static method)
+conjugate (static method)
+opposite (static method)
combineRotations (static method)
lerp (static method)
slerp (static method)
@@ -684,6 +700,18 @@ mult (static method)
Signature
static mult(a: Point4, b: Point4): Point4
+conjugate (static method)
+Calculates and returns the conjugate of a quaternion.
+The conjugate of a quaternion is obtained by changing the sign of its vector components.
+Signature
+static conjugate(q: Point4): Point4
+
+opposite (static method)
+Returns the opposite of a quaternion.
+It's obtained by negating all quaternion elements(x, y, z and w).
+Signature
+static opposite(q: Point4): Point4
+
combineRotations (static method)
Combines an arbitrary number of quaternions by multiplying them together in order.
Signature
diff --git a/modules/core/base/models/body-options.ts/index.html b/modules/core/base/models/body-options.ts/index.html
index 28e7f598..dd741449 100755
--- a/modules/core/base/models/body-options.ts/index.html
+++ b/modules/core/base/models/body-options.ts/index.html
@@ -518,6 +518,13 @@
BodyOptions (interface)
+
+
+
+
+ CollisionGroup (type alias)
+
+
@@ -550,6 +557,7 @@ Table of contents
utils
@@ -560,8 +568,14 @@ BodyOptions (interface)
mass: number
restitution: number
friction: number
+ ownCollisionGroups: CollisionGroup[] | 'all'
+ interactWithCollisionGroups: CollisionGroup[] | 'all'
}
+CollisionGroup (type alias)
+Signature
+export type CollisionGroup = number
+
diff --git a/modules/index.html b/modules/index.html
index 4fd3607c..97e22565 100755
--- a/modules/index.html
+++ b/modules/index.html
@@ -528,6 +528,7 @@ All modules
ammo/ammo-factory.ts
ammo/ammo-loader.ts
ammo/ammo-utils.ts
+ammo/types.ts
ammo/components/ammo-body.component.ts
ammo/components/ammo-raycast-vehicle.component.ts
ammo/components/ammo-rigid-body.component.ts
@@ -594,6 +595,7 @@ All modules
core/base/components/rendering/i-display-object.component.ts
core/base/components/rendering/i-renderer.component.ts
core/base/components/rendering/i-visual-scene.component.ts
+core/base/data-structures/bitmask.ts
core/base/data-structures/graph.ts
core/base/entities/i-entity.ts
core/base/entities/i-renderable.entity.ts
@@ -622,20 +624,24 @@ All modules
core/dev/gg-static.ts
core/dev/index.ts
matter/matter-factory.ts
+matter/types.ts
matter/components/matter-rigid-body.component.ts
matter/components/matter-world.component.ts
pixi/pixi-factory.ts
+pixi/types.ts
pixi/components/pixi-display-object.component.ts
pixi/components/pixi-renderer.component.ts
pixi/components/pixi-scene.component.ts
rapier2d/index.ts
rapier2d/rapier-2d-factory.ts
+rapier2d/types.ts
rapier2d/components/rapier-2d-rigid-body.component.ts
rapier2d/components/rapier-2d-trigger.component.ts
rapier2d/components/rapier-2d-world.component.ts
rapier3d/index.ts
rapier3d/rapier-3d-factory.ts
rapier3d/rapier-3d-loader.ts
+rapier3d/types.ts
rapier3d/components/rapier-3d-raycast-vehicle.component.ts
rapier3d/components/rapier-3d-rigid-body.component.ts
rapier3d/components/rapier-3d-trigger.component.ts
@@ -643,6 +649,7 @@ All modules
three/three-factory.ts
three/three-loader.ts
three/three-physics-drawer.ts
+three/types.ts
three/components/three-camera.component.ts
three/components/three-display-object.component.ts
three/components/three-renderer-component.ts
diff --git a/modules/matter/components/matter-rigid-body.component.ts/index.html b/modules/matter/components/matter-rigid-body.component.ts/index.html
index 7618782a..1aabf2e7 100755
--- a/modules/matter/components/matter-rigid-body.component.ts/index.html
+++ b/modules/matter/components/matter-rigid-body.component.ts/index.html
@@ -629,11 +629,15 @@ clone (method)
addToWorld (method)
Signature
-addToWorld(world: Gg2dWorld<IVisualScene2dComponent, MatterWorldComponent>): void
+addToWorld(
+ world: Gg2dWorld<VisualTypeDocRepo2D, MatterPhysicsTypeDocRepo, IVisualScene2dComponent, MatterWorldComponent>,
+ ): void
removeFromWorld (method)
Signature
-removeFromWorld(world: Gg2dWorld<IVisualScene2dComponent, MatterWorldComponent>): void
+removeFromWorld(
+ world: Gg2dWorld<VisualTypeDocRepo2D, MatterPhysicsTypeDocRepo, IVisualScene2dComponent, MatterWorldComponent>,
+ ): void
dispose (method)
Signature
diff --git a/modules/matter/components/matter-world.component.ts/index.html b/modules/matter/components/matter-world.component.ts/index.html
index 3a3aff5e..b3b6d63e 100755
--- a/modules/matter/components/matter-world.component.ts/index.html
+++ b/modules/matter/components/matter-world.component.ts/index.html
@@ -526,6 +526,20 @@
init (method)
+
+
+
+
+ registerCollisionGroup (method)
+
+
+
+
+
+
+ deregisterCollisionGroup (method)
+
+
@@ -606,6 +620,8 @@ Table of contents
utils
MatterWorldComponent (class) async init(): Promise<void>
+registerCollisionGroup (method)
+Signature
+registerCollisionGroup(): CollisionGroup
+
+deregisterCollisionGroup (method)
+Signature
+deregisterCollisionGroup(group: CollisionGroup): void
+
simulate (method)
Signature
simulate(delta: number): void
diff --git a/modules/matter/index.html b/modules/matter/index.html
index bea0ce5c..5bcc93c9 100755
--- a/modules/matter/index.html
+++ b/modules/matter/index.html
@@ -510,6 +510,7 @@ Directory table of contents
diff --git a/modules/matter/matter-factory.ts/index.html b/modules/matter/matter-factory.ts/index.html
index 8ffd2b02..38c09067 100755
--- a/modules/matter/matter-factory.ts/index.html
+++ b/modules/matter/matter-factory.ts/index.html
@@ -607,7 +607,7 @@ createTrigger (method)
position?: Point2;
rotation?: number;
},
- ): any
+ ): never
Signature
diff --git a/modules/matter/types.ts/index.html b/modules/matter/types.ts/index.html
new file mode 100755
index 00000000..d2f44851
--- /dev/null
+++ b/modules/matter/types.ts/index.html
@@ -0,0 +1,609 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ matter/types.ts - GG-web-engine
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+types overview
+
+Table of contents
+
+
+
+utils
+MatterPhysicsTypeDocRepo (type alias)
+Signature
+export type MatterPhysicsTypeDocRepo = {
+ factory: MatterFactory
+ rigidBody: MatterRigidBodyComponent
+ trigger: never
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/modules/pixi/components/pixi-display-object.component.ts/index.html b/modules/pixi/components/pixi-display-object.component.ts/index.html
index 2b31af27..f4fc2420 100755
--- a/modules/pixi/components/pixi-display-object.component.ts/index.html
+++ b/modules/pixi/components/pixi-display-object.component.ts/index.html
@@ -657,11 +657,11 @@ clone (method)
addToWorld (method)
Signature
-addToWorld(world: Gg2dWorld<PixiSceneComponent>): void
+addToWorld(world: Gg2dWorld<PixiVisualTypeDocRepo2D, PhysicsTypeDocRepo2D, PixiSceneComponent>): void
removeFromWorld (method)
Signature
-removeFromWorld(world: Gg2dWorld<PixiSceneComponent>): void
+removeFromWorld(world: Gg2dWorld<PixiVisualTypeDocRepo2D, PhysicsTypeDocRepo2D, PixiSceneComponent>): void
dispose (method)
Signature
diff --git a/modules/pixi/components/pixi-renderer.component.ts/index.html b/modules/pixi/components/pixi-renderer.component.ts/index.html
index 2e578bfc..1d1b3fef 100755
--- a/modules/pixi/components/pixi-renderer.component.ts/index.html
+++ b/modules/pixi/components/pixi-renderer.component.ts/index.html
@@ -625,11 +625,11 @@ resizeRenderer (method)
addToWorld (method)
Signature
-addToWorld(world: Gg2dWorld<PixiSceneComponent>): void
+addToWorld(world: Gg2dWorld<PixiVisualTypeDocRepo2D>): void
removeFromWorld (method)
Signature
-removeFromWorld(world: Gg2dWorld<PixiSceneComponent>): void
+removeFromWorld(world: Gg2dWorld<PixiVisualTypeDocRepo2D>): void
render (method)
Signature
diff --git a/modules/pixi/index.html b/modules/pixi/index.html
index 0166f00d..a53fc75d 100755
--- a/modules/pixi/index.html
+++ b/modules/pixi/index.html
@@ -510,6 +510,7 @@ Directory table of contents
diff --git a/modules/pixi/pixi-factory.ts/index.html b/modules/pixi/pixi-factory.ts/index.html
index 2d378a54..26934792 100755
--- a/modules/pixi/pixi-factory.ts/index.html
+++ b/modules/pixi/pixi-factory.ts/index.html
@@ -514,19 +514,19 @@
@@ -650,11 +658,11 @@ clone (method)
addToWorld (method)
Signature
-addToWorld(world: Gg2dWorld<IVisualScene2dComponent, Rapier2dWorldComponent>): void
+addToWorld(world: Gg2dWorld<VisualTypeDocRepo2D, Rapier2dPhysicsTypeDocRepo>): void
removeFromWorld (method)
Signature
-removeFromWorld(world: Gg2dWorld<IVisualScene2dComponent, Rapier2dWorldComponent>): void
+removeFromWorld(world: Gg2dWorld<VisualTypeDocRepo2D, Rapier2dPhysicsTypeDocRepo>): void
resetMotion (method)
Signature
@@ -680,6 +688,10 @@ name (property)
Signature
name: string
+collisionGroups (property)
+Signature
+collisionGroups: any
+
diff --git a/modules/rapier2d/components/rapier-2d-trigger.component.ts/index.html b/modules/rapier2d/components/rapier-2d-trigger.component.ts/index.html
index 15c91c9c..8550f1cd 100755
--- a/modules/rapier2d/components/rapier-2d-trigger.component.ts/index.html
+++ b/modules/rapier2d/components/rapier-2d-trigger.component.ts/index.html
@@ -613,7 +613,7 @@ Rapier2dTriggerComponent (class)
addToWorld (method)
Signature
-addToWorld(world: Gg2dWorld<IVisualScene2dComponent, Rapier2dWorldComponent>): void
+addToWorld(world: Gg2dWorld<VisualTypeDocRepo2D, Rapier2dPhysicsTypeDocRepo>): void
checkOverlaps (method)
Signature
diff --git a/modules/rapier2d/components/rapier-2d-world.component.ts/index.html b/modules/rapier2d/components/rapier-2d-world.component.ts/index.html
index 58d10315..5a023dc2 100755
--- a/modules/rapier2d/components/rapier-2d-world.component.ts/index.html
+++ b/modules/rapier2d/components/rapier-2d-world.component.ts/index.html
@@ -533,6 +533,20 @@
simulate (method)
+
+
+
+
+ registerCollisionGroup (method)
+
+
+
+
+
+
+ deregisterCollisionGroup (method)
+
+
@@ -568,6 +582,13 @@
handleIdEntityMap (property)
+
+
+
+
+ lockedCollisionGroups (property)
+
+
@@ -607,11 +628,14 @@ Table of contents
Rapier2dWorldComponent (class)
@@ -629,6 +653,14 @@ simulate (method)
Signature
simulate(delta: number): void
+registerCollisionGroup (method)
+Signature
+registerCollisionGroup(): CollisionGroup
+
+deregisterCollisionGroup (method)
+Signature
+deregisterCollisionGroup(group: CollisionGroup): void
+
startDebugger (method)
Signature
startDebugger(world: Gg2dWorld, drawer: IDebugPhysicsDrawer<Point2, number>): void
@@ -649,6 +681,10 @@ handleIdEntityMap (property)
Signature
readonly handleIdEntityMap: any
+lockedCollisionGroups (property)
+Signature
+lockedCollisionGroups: number[]
+
diff --git a/modules/rapier2d/index.html b/modules/rapier2d/index.html
index 3a5c57d2..32bcdfba 100755
--- a/modules/rapier2d/index.html
+++ b/modules/rapier2d/index.html
@@ -511,6 +511,7 @@ Directory table of contents
rapier2d/components
rapier2d/index.ts
rapier2d/rapier-2d-factory.ts
+rapier2d/types.ts
diff --git a/modules/rapier2d/types.ts/index.html b/modules/rapier2d/types.ts/index.html
new file mode 100755
index 00000000..2234747c
--- /dev/null
+++ b/modules/rapier2d/types.ts/index.html
@@ -0,0 +1,609 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ rapier2d/types.ts - GG-web-engine
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+types overview
+
+Table of contents
+
+
+
+utils
+Rapier2dPhysicsTypeDocRepo (type alias)
+Signature
+export type Rapier2dPhysicsTypeDocRepo = {
+ factory: Rapier2dFactory
+ rigidBody: Rapier2dRigidBodyComponent
+ trigger: Rapier2dTriggerComponent
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/index.html b/modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/index.html
index 64de1894..9491e599 100755
--- a/modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/index.html
+++ b/modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/index.html
@@ -582,6 +582,13 @@
resetSuspension (method)
+
+
+
+
+ clone (method)
+
+
@@ -642,6 +649,7 @@ Table of contents
isWheelTouchesGround (method)
getWheelTransform (method)
resetSuspension (method)
+clone (method)
dispose (method)
_nativeVehicle (property)
@@ -657,11 +665,15 @@ Rapier3dRaycastVehicleComponent (
addToWorld (method)
Signature
-addToWorld(world: Gg3dWorld<IVisualScene3dComponent, Rapier3dWorldComponent>)
+addToWorld(
+ world: Gg3dWorld<VisualTypeDocRepo3D, Rapier3dPhysicsTypeDocRepo, IVisualScene3dComponent, Rapier3dWorldComponent>,
+ )
removeFromWorld (method)
Signature
-removeFromWorld(world: Gg3dWorld<IVisualScene3dComponent, Rapier3dWorldComponent>)
+removeFromWorld(
+ world: Gg3dWorld<VisualTypeDocRepo3D, Rapier3dPhysicsTypeDocRepo, IVisualScene3dComponent, Rapier3dWorldComponent>,
+ )
addWheel (method)
Signature
@@ -691,6 +703,10 @@ resetSuspension (method)
Signature
resetSuspension(): void
+clone (method)
+Signature
+clone(): Rapier3dRaycastVehicleComponent
+
dispose (method)
Signature
dispose()
diff --git a/modules/rapier3d/components/rapier-3d-rigid-body.component.ts/index.html b/modules/rapier3d/components/rapier-3d-rigid-body.component.ts/index.html
index c181344f..f61894f9 100755
--- a/modules/rapier3d/components/rapier-3d-rigid-body.component.ts/index.html
+++ b/modules/rapier3d/components/rapier-3d-rigid-body.component.ts/index.html
@@ -582,6 +582,13 @@
name (property)
+
+
+
+
+ collisionGroups (property)
+
+
@@ -628,6 +635,7 @@ Table of contents
_nativeBody (property)
_nativeBodyColliders (property)
name (property)
+collisionGroups (property)
@@ -650,11 +658,11 @@ clone (method)
addToWorld (method)
Signature
-addToWorld(world: Gg3dWorld<IVisualScene3dComponent, Rapier3dWorldComponent>): void
+addToWorld(world: Gg3dWorld<VisualTypeDocRepo3D, Rapier3dPhysicsTypeDocRepo>): void
removeFromWorld (method)
Signature
-removeFromWorld(world: Gg3dWorld<IVisualScene3dComponent, Rapier3dWorldComponent>): void
+removeFromWorld(world: Gg3dWorld<VisualTypeDocRepo3D, Rapier3dPhysicsTypeDocRepo>): void
resetMotion (method)
Signature
@@ -680,6 +688,10 @@ name (property)
Signature
name: string
+collisionGroups (property)
+Signature
+collisionGroups: any
+
diff --git a/modules/rapier3d/components/rapier-3d-trigger.component.ts/index.html b/modules/rapier3d/components/rapier-3d-trigger.component.ts/index.html
index 4d002e9e..0ca28345 100755
--- a/modules/rapier3d/components/rapier-3d-trigger.component.ts/index.html
+++ b/modules/rapier3d/components/rapier-3d-trigger.component.ts/index.html
@@ -613,7 +613,7 @@ Rapier3dTriggerComponent (class)
addToWorld (method)
Signature
-addToWorld(world: Gg3dWorld<IVisualScene3dComponent, Rapier3dWorldComponent>): void
+addToWorld(world: Gg3dWorld<VisualTypeDocRepo3D, Rapier3dPhysicsTypeDocRepo>): void
checkOverlaps (method)
Signature
diff --git a/modules/rapier3d/components/rapier-3d-world.component.ts/index.html b/modules/rapier3d/components/rapier-3d-world.component.ts/index.html
index 75cdf01d..e48de0a3 100755
--- a/modules/rapier3d/components/rapier-3d-world.component.ts/index.html
+++ b/modules/rapier3d/components/rapier-3d-world.component.ts/index.html
@@ -533,6 +533,20 @@
simulate (method)
+
+
+
+
+ registerCollisionGroup (method)
+
+
+
+
+
+
+ deregisterCollisionGroup (method)
+
+
@@ -568,6 +582,13 @@
handleIdEntityMap (property)
+
+
+
+
+ lockedCollisionGroups (property)
+
+
@@ -607,11 +628,14 @@ Table of contents
Rapier3dWorldComponent (class)
@@ -629,6 +653,14 @@ simulate (method)
Signature
simulate(delta: number): void
+registerCollisionGroup (method)
+Signature
+registerCollisionGroup(): CollisionGroup
+
+deregisterCollisionGroup (method)
+Signature
+deregisterCollisionGroup(group: CollisionGroup): void
+
startDebugger (method)
Signature
startDebugger(world: Gg3dWorld, drawer: IDebugPhysicsDrawer<Point3, Point4>): void
@@ -649,6 +681,10 @@ handleIdEntityMap (property)
Signature
readonly handleIdEntityMap: any
+lockedCollisionGroups (property)
+Signature
+lockedCollisionGroups: number[]
+
diff --git a/modules/rapier3d/index.html b/modules/rapier3d/index.html
index cf2b2112..21b3b6b1 100755
--- a/modules/rapier3d/index.html
+++ b/modules/rapier3d/index.html
@@ -512,6 +512,7 @@ Directory table of contents
rapier3d/index.ts
rapier3d/rapier-3d-factory.ts
rapier3d/rapier-3d-loader.ts
+rapier3d/types.ts
diff --git a/modules/rapier3d/rapier-3d-factory.ts/index.html b/modules/rapier3d/rapier-3d-factory.ts/index.html
index b0196d05..8ee13335 100755
--- a/modules/rapier3d/rapier-3d-factory.ts/index.html
+++ b/modules/rapier3d/rapier-3d-factory.ts/index.html
@@ -533,6 +533,13 @@
createTrigger (method)
+
+
+
+
+ createRaycastVehicle (method)
+
+
@@ -586,6 +593,7 @@ Table of contents
Rapier3dFactory (class)
@@ -619,6 +627,10 @@ createTrigger (method)
},
): Rapier3dTriggerComponent
+createRaycastVehicle (method)
+Signature
+createRaycastVehicle(chassis: Rapier3dRigidBodyComponent): never
+
createColliderDescr (method)
Signature
public createColliderDescr(descriptor: Shape3DDescriptor): ColliderDesc[]
diff --git a/modules/rapier3d/types.ts/index.html b/modules/rapier3d/types.ts/index.html
new file mode 100755
index 00000000..725a4444
--- /dev/null
+++ b/modules/rapier3d/types.ts/index.html
@@ -0,0 +1,611 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ rapier3d/types.ts - GG-web-engine
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+types overview
+
+Table of contents
+
+
+
+utils
+Rapier3dPhysicsTypeDocRepo (type alias)
+Signature
+export type Rapier3dPhysicsTypeDocRepo = {
+ factory: Rapier3dFactory
+ loader: Rapier3dLoader
+ rigidBody: Rapier3dRigidBodyComponent
+ trigger: Rapier3dTriggerComponent
+ raycastVehicle: never //Rapier3dRaycastVehicleComponent;
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/modules/three/components/three-display-object.component.ts/index.html b/modules/three/components/three-display-object.component.ts/index.html
index cb5757bf..2a5096df 100755
--- a/modules/three/components/three-display-object.component.ts/index.html
+++ b/modules/three/components/three-display-object.component.ts/index.html
@@ -657,11 +657,11 @@ clone (method)
addToWorld (method)
Signature
-addToWorld(world: Gg3dWorld<ThreeSceneComponent>): void
+addToWorld(world: Gg3dWorld<ThreeVisualTypeDocRepo, PhysicsTypeDocRepo3D, ThreeSceneComponent>): void
removeFromWorld (method)
Signature
-removeFromWorld(world: Gg3dWorld<ThreeSceneComponent>): void
+removeFromWorld(world: Gg3dWorld<ThreeVisualTypeDocRepo, PhysicsTypeDocRepo3D, ThreeSceneComponent>): void
dispose (method)
Signature
diff --git a/modules/three/components/three-renderer-component.ts/index.html b/modules/three/components/three-renderer-component.ts/index.html
index 65a7bc1e..bdaa5a78 100755
--- a/modules/three/components/three-renderer-component.ts/index.html
+++ b/modules/three/components/three-renderer-component.ts/index.html
@@ -614,19 +614,19 @@ ThreeRendererComponent (class)
export declare class ThreeRendererComponent {
constructor(
public readonly scene: ThreeSceneComponent,
+ public camera: ThreeCameraComponent,
public readonly canvas?: HTMLCanvasElement,
- rendererOptions: Partial<RendererOptions> = {},
- public camera: ThreeCameraComponent = new ThreeCameraComponent(new PerspectiveCamera(75, 1, 1, 10000))
+ rendererOptions: Partial<RendererOptions> = {}
)
}
addToWorld (method)
Signature
-addToWorld(world: Gg3dWorld<ThreeSceneComponent>)
+addToWorld(world: Gg3dWorld<ThreeVisualTypeDocRepo>)
removeFromWorld (method)
Signature
-removeFromWorld(world: Gg3dWorld<ThreeSceneComponent>)
+removeFromWorld(world: Gg3dWorld<ThreeVisualTypeDocRepo>)
resizeRenderer (method)
Signature
diff --git a/modules/three/index.html b/modules/three/index.html
index f1ac20b4..035972cf 100755
--- a/modules/three/index.html
+++ b/modules/three/index.html
@@ -512,6 +512,7 @@ Directory table of contents
three/three-factory.ts
three/three-loader.ts
three/three-physics-drawer.ts
+three/types.ts
diff --git a/modules/three/three-factory.ts/index.html b/modules/three/three-factory.ts/index.html
index 40bdb93d..47a2aa3e 100755
--- a/modules/three/three-factory.ts/index.html
+++ b/modules/three/three-factory.ts/index.html
@@ -513,6 +513,13 @@
@@ -576,22 +590,28 @@ Table of contents
utils
+ThreeDisplayObject3dOpts (type alias)
+Signature
+export type ThreeDisplayObject3dOpts = DisplayObject3dOpts<Texture>
+
ThreeFactory (class)
Signature
export declare class ThreeFactory
-getRandomMaterial (method)
+createMaterial (method)
Signature
-getRandomMaterial(): Material
+createMaterial(descr: ThreeDisplayObject3dOpts): Material
Signature
@@ -599,10 +619,17 @@
createPrimitive (method)
Signature
-createPrimitive(
- descriptor: Shape3DDescriptor,
- material: Material = this.getRandomMaterial(),
- ): ThreeDisplayObjectComponent
+createPrimitive(descriptor: Shape3DDescriptor, material: ThreeDisplayObject3dOpts = {}): ThreeDisplayObjectComponent
+
+createPerspectiveCamera (method)
+Signature
+createPerspectiveCamera(
+ settings: {
+ fov?: number;
+ aspectRatio?: number;
+ frustrum?: { near: number; far: number };
+ } = {},
+ ): ThreeCameraComponent
diff --git a/modules/three/types.ts/index.html b/modules/three/types.ts/index.html
new file mode 100755
index 00000000..7eebe23d
--- /dev/null
+++ b/modules/three/types.ts/index.html
@@ -0,0 +1,612 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ three/types.ts - GG-web-engine
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+types overview
+
+Table of contents
+
+
+
+utils
+ThreeVisualTypeDocRepo (type alias)
+Signature
+export type ThreeVisualTypeDocRepo = {
+ factory: ThreeFactory
+ loader: ThreeLoader
+ displayObject: ThreeDisplayObjectComponent
+ renderer: ThreeRendererComponent
+ camera: ThreeCameraComponent
+ texture: Texture
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/search/search_index.json b/search/search_index.json
index aa487b3a..f6987ce1 100755
--- a/search/search_index.json
+++ b/search/search_index.json
@@ -1 +1 @@
-{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"modules/","title":"Modules","text":"Directory table of contents ammo core matter pixi rapier2d rapier3d three All modules index ammo/ammo-debugger.ts ammo/ammo-factory.ts ammo/ammo-loader.ts ammo/ammo-utils.ts ammo/components/ammo-body.component.ts ammo/components/ammo-raycast-vehicle.component.ts ammo/components/ammo-rigid-body.component.ts ammo/components/ammo-trigger.component.ts ammo/components/ammo-world.component.ts core/2d/factories.ts core/2d/gg-2d-world.ts core/2d/index.ts core/2d/components/physics/i-physics-world-2d.component.ts core/2d/components/physics/i-rigid-body-2d.component.ts core/2d/components/physics/i-trigger-2d.component.ts core/2d/components/rendering/i-display-object-2d.component.ts core/2d/components/rendering/i-renderer-2d.component.ts core/2d/components/rendering/i-visual-scene-2d.component.ts core/2d/entities/entity-2d.ts core/2d/entities/i-renderable-2d.entity.ts core/2d/entities/renderer-2d.entity.ts core/2d/entities/trigger-2d.entity.ts core/2d/entities/controllers/entity-2d-positioning.animator.ts core/2d/interfaces/i-positionable-2d.ts core/2d/models/body-options.ts core/2d/models/shapes.ts core/3d/factories.ts core/3d/gg-3d-world.ts core/3d/index.ts core/3d/loader.ts core/3d/loaders.ts core/3d/components/physics/i-physics-world-3d.component.ts core/3d/components/physics/i-raycast-vehicle.component.ts core/3d/components/physics/i-rigid-body-3d.component.ts core/3d/components/physics/i-trigger-3d.component.ts core/3d/components/rendering/i-camera.component.ts core/3d/components/rendering/i-display-object-3d.component.ts core/3d/components/rendering/i-renderer-3d.component.ts core/3d/components/rendering/i-visual-scene-3d.component.ts core/3d/entities/entity-3d.ts core/3d/entities/i-renderable-3d.entity.ts core/3d/entities/map-graph-3d.entity.ts core/3d/entities/raycast-vehicle-3d.entity.ts core/3d/entities/renderer-3d.entity.ts core/3d/entities/trigger-3d.entity.ts core/3d/entities/controllers/animators/camera-3d.animator.ts core/3d/entities/controllers/animators/entity-3d-positioning.animator.ts core/3d/entities/controllers/input/car-keyboard-handling.controller.ts core/3d/entities/controllers/input/free-camera.controller.ts core/3d/entities/controllers/input/gg-car-keyboard-handling.controller.ts core/3d/entities/controllers/input/orbit-camera.controller.ts core/3d/entities/gg-car/gg-car.entity.ts core/3d/interfaces/i-positionable-3d.ts core/3d/models/body-options.ts core/3d/models/gg-meta.ts core/3d/models/shapes.ts core/base/gg-world.ts core/base/index.ts core/base/clock/global-clock.ts core/base/clock/i-clock.ts core/base/clock/pausable-clock.ts core/base/components/i-component.ts core/base/components/i-world-component.ts core/base/components/physics/i-body.component.ts core/base/components/physics/i-physics-world.component.ts core/base/components/physics/i-rigid-body.component.ts core/base/components/physics/i-trigger.component.ts core/base/components/rendering/i-display-object.component.ts core/base/components/rendering/i-renderer.component.ts core/base/components/rendering/i-visual-scene.component.ts core/base/data-structures/graph.ts core/base/entities/i-entity.ts core/base/entities/i-renderable.entity.ts core/base/entities/i-renderer.entity.ts core/base/entities/controllers/animation-mixer.ts core/base/entities/controllers/inline-controller.ts core/base/inputs/direction.keyboard.input.ts core/base/inputs/i-input.ts core/base/inputs/keyboard.input.ts core/base/inputs/mouse.input.ts core/base/interfaces/i-debug-physics-drawer.ts core/base/interfaces/i-positionable.ts core/base/math/box.ts core/base/math/matrix4.ts core/base/math/numbers.ts core/base/math/point2.ts core/base/math/point3.ts core/base/math/quaternion.ts core/base/math/splines.ts core/base/models/axis-directions.ts core/base/models/body-options.ts core/base/models/geometry-nodes.ts core/base/models/points.ts core/dev/gg-console.ui.ts core/dev/gg-debugger.ui.ts core/dev/gg-static.ts core/dev/index.ts matter/matter-factory.ts matter/components/matter-rigid-body.component.ts matter/components/matter-world.component.ts pixi/pixi-factory.ts pixi/components/pixi-display-object.component.ts pixi/components/pixi-renderer.component.ts pixi/components/pixi-scene.component.ts rapier2d/index.ts rapier2d/rapier-2d-factory.ts rapier2d/components/rapier-2d-rigid-body.component.ts rapier2d/components/rapier-2d-trigger.component.ts rapier2d/components/rapier-2d-world.component.ts rapier3d/index.ts rapier3d/rapier-3d-factory.ts rapier3d/rapier-3d-loader.ts rapier3d/components/rapier-3d-raycast-vehicle.component.ts rapier3d/components/rapier-3d-rigid-body.component.ts rapier3d/components/rapier-3d-trigger.component.ts rapier3d/components/rapier-3d-world.component.ts three/three-factory.ts three/three-loader.ts three/three-physics-drawer.ts three/components/three-camera.component.ts three/components/three-display-object.component.ts three/components/three-renderer-component.ts three/components/three-scene.component.ts "},{"location":"modules/ammo/","title":"Modules","text":"Directory table of contents ammo/ammo-debugger.ts ammo/ammo-factory.ts ammo/ammo-loader.ts ammo/ammo-utils.ts ammo/components "},{"location":"modules/ammo/ammo-debugger.ts/","title":"ammo/ammo-debugger.ts","text":""},{"location":"modules/ammo/ammo-debugger.ts/#ammo-debugger-overview","title":"ammo-debugger overviewTable of contents","text":" utils AmmoDebugger (class) draw3dText (method) drawContactPoint (method) drawLine (method) getDebugMode (method) update (method) setDebugFlags (method) setDebugMode (method) reportErrorWarning (method) debugMode (property) ammoInstance (property) DebugBufferSize "},{"location":"modules/ammo/ammo-debugger.ts/#utils","title":"utils","text":""},{"location":"modules/ammo/ammo-debugger.ts/#ammodebugger-class","title":"AmmoDebugger (class)","text":"Signature
export declare class AmmoDebugger {\n constructor(\n protected readonly world: AmmoWorldComponent,\n private readonly drawer: IDebugPhysicsDrawer<Point3, Point4>\n )\n}\n
"},{"location":"modules/ammo/ammo-debugger.ts/#draw3dtext-method","title":"draw3dText (method)","text":"Signature
draw3dText(location: Ammo.btVector3, textString: string): void\n
"},{"location":"modules/ammo/ammo-debugger.ts/#drawcontactpoint-method","title":"drawContactPoint (method)","text":"Signature
drawContactPoint(\n pointOnB: Ammo.btVector3,\n normalOnB: Ammo.btVector3,\n distance: number,\n lifeTime: number,\n color: Ammo.btVector3,\n ): void\n
"},{"location":"modules/ammo/ammo-debugger.ts/#drawline-method","title":"drawLine (method)","text":"Signature
drawLine(from: Ammo.btVector3, to: Ammo.btVector3, color: Ammo.btVector3): void\n
"},{"location":"modules/ammo/ammo-debugger.ts/#getdebugmode-method","title":"getDebugMode (method)","text":"Signature
getDebugMode(): number\n
"},{"location":"modules/ammo/ammo-debugger.ts/#update-method","title":"update (method)","text":"Signature
update(): void\n
"},{"location":"modules/ammo/ammo-debugger.ts/#setdebugflags-method","title":"setDebugFlags (method)","text":"Signature
setDebugFlags(flags: AmmoDebugMode[]): void\n
"},{"location":"modules/ammo/ammo-debugger.ts/#setdebugmode-method","title":"setDebugMode (method)","text":"Signature
setDebugMode(debugMode: number): void\n
"},{"location":"modules/ammo/ammo-debugger.ts/#reporterrorwarning-method","title":"reportErrorWarning (method)","text":"Signature
reportErrorWarning(warningString: string): void\n
"},{"location":"modules/ammo/ammo-debugger.ts/#debugmode-property","title":"debugMode (property)","text":"Signature
debugMode: AmmoDebugMode\n
"},{"location":"modules/ammo/ammo-debugger.ts/#ammoinstance-property","title":"ammoInstance (property)","text":"Signature
readonly ammoInstance: any\n
"},{"location":"modules/ammo/ammo-debugger.ts/#debugbuffersize","title":"DebugBufferSize","text":"Signature
export declare const DebugBufferSize: number\n
"},{"location":"modules/ammo/ammo-factory.ts/","title":"ammo/ammo-factory.ts","text":""},{"location":"modules/ammo/ammo-factory.ts/#ammo-factory-overview","title":"ammo-factory overviewTable of contents","text":" utils AmmoFactory (class) createRigidBody (method) createTrigger (method) createShape (method) createRigidBodyFromShape (method) createTriggerFromShape (method) "},{"location":"modules/ammo/ammo-factory.ts/#utils","title":"utils","text":""},{"location":"modules/ammo/ammo-factory.ts/#ammofactory-class","title":"AmmoFactory (class)","text":"Signature
export declare class AmmoFactory {\n constructor(protected readonly world: AmmoWorldComponent)\n}\n
"},{"location":"modules/ammo/ammo-factory.ts/#createrigidbody-method","title":"createRigidBody (method)","text":"Signature
createRigidBody(\n descriptor: BodyShape3DDescriptor,\n transform?: {\n position?: Point3;\n rotation?: Point4;\n },\n ): AmmoRigidBodyComponent\n
"},{"location":"modules/ammo/ammo-factory.ts/#createtrigger-method","title":"createTrigger (method)","text":"Signature
createTrigger(\n descriptor: Shape3DDescriptor,\n transform?: {\n position?: Point3;\n rotation?: Point4;\n },\n ): AmmoTriggerComponent\n
"},{"location":"modules/ammo/ammo-factory.ts/#createshape-method","title":"createShape (method)","text":"Signature
protected createShape(descriptor: Shape3DDescriptor): Ammo.btCollisionShape\n
"},{"location":"modules/ammo/ammo-factory.ts/#createrigidbodyfromshape-method","title":"createRigidBodyFromShape (method)","text":"Signature
public createRigidBodyFromShape(\n shape: Ammo.btCollisionShape,\n options: Partial<Body3DOptions>,\n transform?: { position?: Point3; rotation?: Point4 },\n ): AmmoRigidBodyComponent\n
"},{"location":"modules/ammo/ammo-factory.ts/#createtriggerfromshape-method","title":"createTriggerFromShape (method)","text":"Signature
public createTriggerFromShape(\n shape: Ammo.btCollisionShape,\n transform?: { position?: Point3; rotation?: Point4 },\n ): AmmoTriggerComponent\n
"},{"location":"modules/ammo/ammo-loader.ts/","title":"ammo/ammo-loader.ts","text":""},{"location":"modules/ammo/ammo-loader.ts/#ammo-loader-overview","title":"ammo-loader overviewTable of contents","text":""},{"location":"modules/ammo/ammo-loader.ts/#utils","title":"utils","text":""},{"location":"modules/ammo/ammo-loader.ts/#ammoloader-class","title":"AmmoLoader (class)","text":"Signature
export declare class AmmoLoader {\n constructor(protected readonly world: AmmoWorldComponent)\n}\n
"},{"location":"modules/ammo/ammo-utils.ts/","title":"ammo/ammo-utils.ts","text":""},{"location":"modules/ammo/ammo-utils.ts/#ammo-utils-overview","title":"ammo-utils overviewTable of contents","text":""},{"location":"modules/ammo/ammo-utils.ts/#utils","title":"utils","text":""},{"location":"modules/ammo/ammo-utils.ts/#ammoid","title":"ammoId","text":"Signature
export declare const ammoId: (body: any) => number\n
"},{"location":"modules/ammo/components/","title":"Modules","text":"Directory table of contents ammo/components/ammo-body.component.ts ammo/components/ammo-raycast-vehicle.component.ts ammo/components/ammo-rigid-body.component.ts ammo/components/ammo-trigger.component.ts ammo/components/ammo-world.component.ts "},{"location":"modules/ammo/components/ammo-body.component.ts/","title":"ammo/components/ammo-body.component.ts","text":""},{"location":"modules/ammo/components/ammo-body.component.ts/#ammo-bodycomponent-overview","title":"ammo-body.component overviewTable of contents","text":" utils AmmoBodyComponent (class) clone (method) addToWorld (method) removeFromWorld (method) dispose (method) name (property) entity (property) "},{"location":"modules/ammo/components/ammo-body.component.ts/#utils","title":"utils","text":""},{"location":"modules/ammo/components/ammo-body.component.ts/#ammobodycomponent-class","title":"AmmoBodyComponent (class)","text":"Signature
export declare class AmmoBodyComponent<T> {\n protected constructor(protected readonly world: AmmoWorldComponent, protected _nativeBody: T)\n}\n
"},{"location":"modules/ammo/components/ammo-body.component.ts/#clone-method","title":"clone (method)","text":"Signature
abstract clone(): AmmoBodyComponent<T>;\n
"},{"location":"modules/ammo/components/ammo-body.component.ts/#addtoworld-method","title":"addToWorld (method)","text":"Signature
abstract addToWorld(world: Gg3dWorld<IVisualScene3dComponent, AmmoWorldComponent>): void;\n
"},{"location":"modules/ammo/components/ammo-body.component.ts/#removefromworld-method","title":"removeFromWorld (method)","text":"Signature
abstract removeFromWorld(world: Gg3dWorld<IVisualScene3dComponent, AmmoWorldComponent>): void;\n
"},{"location":"modules/ammo/components/ammo-body.component.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose(): void\n
"},{"location":"modules/ammo/components/ammo-body.component.ts/#name-property","title":"name (property)","text":"Signature
name: string\n
"},{"location":"modules/ammo/components/ammo-body.component.ts/#entity-property","title":"entity (property)","text":"Signature
entity: any\n
"},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/","title":"ammo/components/ammo-raycast-vehicle.component.ts","text":""},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/#ammo-raycast-vehiclecomponent-overview","title":"ammo-raycast-vehicle.component overviewTable of contents","text":" utils AmmoRaycastVehicleComponent (class) addToWorld (method) addWheel (method) setSteering (method) applyEngineForce (method) applyBrake (method) isWheelTouchesGround (method) getWheelTransform (method) resetSuspension (method) nativeVehicle (property) vehicleTuning (property) wheelDirectionCS0 (property) wheelAxleCS (property) entity (property) "},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/#utils","title":"utils","text":""},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/#ammoraycastvehiclecomponent-class","title":"AmmoRaycastVehicleComponent (class)","text":"Signature
export declare class AmmoRaycastVehicleComponent {\n constructor(protected readonly world: AmmoWorldComponent, public chassisBody: AmmoRigidBodyComponent)\n}\n
"},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/#addtoworld-method","title":"addToWorld (method)","text":"Signature
addToWorld(world: Gg3dWorld<IVisualScene3dComponent, AmmoWorldComponent>)\n
"},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/#addwheel-method","title":"addWheel (method)","text":"Signature
addWheel(options: WheelOptions, suspensionOptions: SuspensionOptions): void\n
"},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/#setsteering-method","title":"setSteering (method)","text":"Signature
setSteering(wheelIndex: number, steering: number): void\n
"},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/#applyengineforce-method","title":"applyEngineForce (method)","text":"Signature
applyEngineForce(wheelIndex: number, force: number): void\n
"},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/#applybrake-method","title":"applyBrake (method)","text":"Signature
applyBrake(wheelIndex: number, force: number): void\n
"},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/#iswheeltouchesground-method","title":"isWheelTouchesGround (method)","text":"Signature
isWheelTouchesGround(wheelIndex: number): boolean\n
"},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/#getwheeltransform-method","title":"getWheelTransform (method)","text":"Signature
getWheelTransform(wheelIndex: number): { position: Point3; rotation: Point4 }\n
"},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/#resetsuspension-method","title":"resetSuspension (method)","text":"Signature
resetSuspension(): void\n
"},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/#nativevehicle-property","title":"nativeVehicle (property)","text":"Signature
readonly nativeVehicle: any\n
"},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/#vehicletuning-property","title":"vehicleTuning (property)","text":"Signature
readonly vehicleTuning: any\n
"},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/#wheeldirectioncs0-property","title":"wheelDirectionCS0 (property)","text":"Signature
readonly wheelDirectionCS0: any\n
"},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/#wheelaxlecs-property","title":"wheelAxleCS (property)","text":"Signature
readonly wheelAxleCS: any\n
"},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/#entity-property","title":"entity (property)","text":"Signature
entity: any\n
"},{"location":"modules/ammo/components/ammo-rigid-body.component.ts/","title":"ammo/components/ammo-rigid-body.component.ts","text":""},{"location":"modules/ammo/components/ammo-rigid-body.component.ts/#ammo-rigid-bodycomponent-overview","title":"ammo-rigid-body.component overviewTable of contents","text":" utils AmmoRigidBodyComponent (class) clone (method) addToWorld (method) removeFromWorld (method) resetMotion (method) entity (property) "},{"location":"modules/ammo/components/ammo-rigid-body.component.ts/#utils","title":"utils","text":""},{"location":"modules/ammo/components/ammo-rigid-body.component.ts/#ammorigidbodycomponent-class","title":"AmmoRigidBodyComponent (class)","text":"Signature
export declare class AmmoRigidBodyComponent {\n constructor(protected readonly world: AmmoWorldComponent, protected _nativeBody: Ammo.btRigidBody)\n}\n
"},{"location":"modules/ammo/components/ammo-rigid-body.component.ts/#clone-method","title":"clone (method)","text":"Signature
clone(): AmmoRigidBodyComponent\n
"},{"location":"modules/ammo/components/ammo-rigid-body.component.ts/#addtoworld-method","title":"addToWorld (method)","text":"Signature
addToWorld(world: Gg3dWorld<IVisualScene3dComponent, AmmoWorldComponent>): void\n
"},{"location":"modules/ammo/components/ammo-rigid-body.component.ts/#removefromworld-method","title":"removeFromWorld (method)","text":"Signature
removeFromWorld(world: Gg3dWorld<IVisualScene3dComponent, AmmoWorldComponent>): void\n
"},{"location":"modules/ammo/components/ammo-rigid-body.component.ts/#resetmotion-method","title":"resetMotion (method)","text":"Signature
resetMotion(): void\n
"},{"location":"modules/ammo/components/ammo-rigid-body.component.ts/#entity-property","title":"entity (property)","text":"Signature
entity: any\n
"},{"location":"modules/ammo/components/ammo-trigger.component.ts/","title":"ammo/components/ammo-trigger.component.ts","text":""},{"location":"modules/ammo/components/ammo-trigger.component.ts/#ammo-triggercomponent-overview","title":"ammo-trigger.component overviewTable of contents","text":" utils AmmoTriggerComponent (class) checkOverlaps (method) clone (method) addToWorld (method) removeFromWorld (method) dispose (method) entity (property) onEnter$ (property) onLeft$ (property) overlaps (property) "},{"location":"modules/ammo/components/ammo-trigger.component.ts/#utils","title":"utils","text":""},{"location":"modules/ammo/components/ammo-trigger.component.ts/#ammotriggercomponent-class","title":"AmmoTriggerComponent (class)","text":"Signature
export declare class AmmoTriggerComponent {\n constructor(protected readonly world: AmmoWorldComponent, protected _nativeBody: Ammo.btPairCachingGhostObject)\n}\n
"},{"location":"modules/ammo/components/ammo-trigger.component.ts/#checkoverlaps-method","title":"checkOverlaps (method)","text":"Signature
checkOverlaps(): void\n
"},{"location":"modules/ammo/components/ammo-trigger.component.ts/#clone-method","title":"clone (method)","text":"Signature
clone(): AmmoTriggerComponent\n
"},{"location":"modules/ammo/components/ammo-trigger.component.ts/#addtoworld-method","title":"addToWorld (method)","text":"Signature
addToWorld(world: Gg3dWorld<IVisualScene3dComponent, AmmoWorldComponent>)\n
"},{"location":"modules/ammo/components/ammo-trigger.component.ts/#removefromworld-method","title":"removeFromWorld (method)","text":"Signature
removeFromWorld(world: Gg3dWorld<IVisualScene3dComponent, AmmoWorldComponent>): void\n
"},{"location":"modules/ammo/components/ammo-trigger.component.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose(): void\n
"},{"location":"modules/ammo/components/ammo-trigger.component.ts/#entity-property","title":"entity (property)","text":"Signature
entity: any\n
"},{"location":"modules/ammo/components/ammo-trigger.component.ts/#onenter-property","title":"onEnter$ (property)","text":"Signature
readonly onEnter$: any\n
"},{"location":"modules/ammo/components/ammo-trigger.component.ts/#onleft-property","title":"onLeft$ (property)","text":"Signature
readonly onLeft$: any\n
"},{"location":"modules/ammo/components/ammo-trigger.component.ts/#overlaps-property","title":"overlaps (property)","text":"Signature
readonly overlaps: any\n
"},{"location":"modules/ammo/components/ammo-world.component.ts/","title":"ammo/components/ammo-world.component.ts","text":""},{"location":"modules/ammo/components/ammo-world.component.ts/#ammo-worldcomponent-overview","title":"ammo-world.component overviewTable of contents","text":" utils AmmoWorldComponent (class) init (method) simulate (method) startDebugger (method) stopDebugger (method) dispose (method) _dynamicAmmoWorld (property) "},{"location":"modules/ammo/components/ammo-world.component.ts/#utils","title":"utils","text":""},{"location":"modules/ammo/components/ammo-world.component.ts/#ammoworldcomponent-class","title":"AmmoWorldComponent (class)","text":"Signature
export declare class AmmoWorldComponent\n
"},{"location":"modules/ammo/components/ammo-world.component.ts/#init-method","title":"init (method)","text":"Signature
async init(): Promise<void>\n
"},{"location":"modules/ammo/components/ammo-world.component.ts/#simulate-method","title":"simulate (method)","text":"Signature
simulate(delta: number): void\n
"},{"location":"modules/ammo/components/ammo-world.component.ts/#startdebugger-method","title":"startDebugger (method)","text":"Signature
startDebugger(\n world: Gg3dWorld<IVisualScene3dComponent, AmmoWorldComponent>,\n drawer: IDebugPhysicsDrawer<Point3, Point4>,\n ): void\n
"},{"location":"modules/ammo/components/ammo-world.component.ts/#stopdebugger-method","title":"stopDebugger (method)","text":"Signature
stopDebugger(world: Gg3dWorld<IVisualScene3dComponent, AmmoWorldComponent>): void\n
"},{"location":"modules/ammo/components/ammo-world.component.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose(): void\n
"},{"location":"modules/ammo/components/ammo-world.component.ts/#_dynamicammoworld-property","title":"_dynamicAmmoWorld (property)","text":"Signature
_dynamicAmmoWorld: any\n
"},{"location":"modules/core/","title":"Modules","text":"Directory table of contents core/2d core/3d core/base core/dev "},{"location":"modules/core/2d/","title":"Modules","text":"Directory table of contents core/2d/components core/2d/entities core/2d/factories.ts core/2d/gg-2d-world.ts core/2d/index.ts core/2d/interfaces core/2d/models "},{"location":"modules/core/2d/factories.ts/","title":"core/2d/factories.ts","text":""},{"location":"modules/core/2d/factories.ts/#factories-overview","title":"factories overviewTable of contents","text":" utils IGg2dObjectFactory (class) createPrimitive (method) createSquare (method) createCircle (method) IPhysicsBody2dComponentFactory (interface) "},{"location":"modules/core/2d/factories.ts/#utils","title":"utils","text":""},{"location":"modules/core/2d/factories.ts/#igg2dobjectfactory-class","title":"IGg2dObjectFactory (class)","text":"Signature
export declare class IGg2dObjectFactory<T>\n
"},{"location":"modules/core/2d/factories.ts/#createprimitive-method","title":"createPrimitive (method)","text":"Signature
abstract createPrimitive(descriptor: Shape2DDescriptor): T;\n
"},{"location":"modules/core/2d/factories.ts/#createsquare-method","title":"createSquare (method)","text":"Signature
createSquare(dimensions: Point2): T\n
"},{"location":"modules/core/2d/factories.ts/#createcircle-method","title":"createCircle (method)","text":"Signature
createCircle(radius: number): T\n
"},{"location":"modules/core/2d/factories.ts/#iphysicsbody2dcomponentfactory-interface","title":"IPhysicsBody2dComponentFactory (interface)","text":"Signature
export interface IPhysicsBody2dComponentFactory<\n T extends IRigidBody2dComponent = IRigidBody2dComponent,\n K extends ITrigger2dComponent = ITrigger2dComponent\n> {\n createRigidBody(descriptor: BodyShape2DDescriptor, transform?: { position?: Point2; rotation?: number }): T\n\n createTrigger(descriptor: Shape2DDescriptor, transform?: { position?: Point2; rotation?: number }): K\n}\n
"},{"location":"modules/core/2d/gg-2d-world.ts/","title":"core/2d/gg-2d-world.ts","text":""},{"location":"modules/core/2d/gg-2d-world.ts/#gg-2d-world-overview","title":"gg-2d-world overviewTable of contents","text":" utils Gg2dWorld (class) addPrimitiveRigidBody (method) addRenderer (method) "},{"location":"modules/core/2d/gg-2d-world.ts/#utils","title":"utils","text":""},{"location":"modules/core/2d/gg-2d-world.ts/#gg2dworld-class","title":"Gg2dWorld (class)","text":"Signature
export declare class Gg2dWorld<V, P> {\n constructor(public readonly visualScene: V, public readonly physicsWorld: P)\n}\n
"},{"location":"modules/core/2d/gg-2d-world.ts/#addprimitiverigidbody-method","title":"addPrimitiveRigidBody (method)","text":"Signature
addPrimitiveRigidBody(descr: BodyShape2DDescriptor, position: Point2 = Pnt2.O, rotation: number = 0): Entity2d<V, P>\n
"},{"location":"modules/core/2d/gg-2d-world.ts/#addrenderer-method","title":"addRenderer (method)","text":"Signature
addRenderer(canvas?: HTMLCanvasElement, rendererOptions?: Partial<RendererOptions>): Renderer2dEntity\n
"},{"location":"modules/core/2d/index.ts/","title":"core/2d/index.ts","text":""},{"location":"modules/core/2d/index.ts/#index-overview","title":"index overviewTable of contents","text":""},{"location":"modules/core/2d/components/","title":"Modules","text":"Directory table of contents core/2d/components/physics core/2d/components/rendering "},{"location":"modules/core/2d/components/physics/","title":"Modules","text":"Directory table of contents core/2d/components/physics/i-physics-world-2d.component.ts core/2d/components/physics/i-rigid-body-2d.component.ts core/2d/components/physics/i-trigger-2d.component.ts "},{"location":"modules/core/2d/components/physics/i-physics-world-2d.component.ts/","title":"core/2d/components/physics/i-physics-world-2d.component.ts","text":""},{"location":"modules/core/2d/components/physics/i-physics-world-2d.component.ts/#i-physics-world-2dcomponent-overview","title":"i-physics-world-2d.component overviewTable of contents","text":" utils IPhysicsWorld2dComponent (interface) "},{"location":"modules/core/2d/components/physics/i-physics-world-2d.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/2d/components/physics/i-physics-world-2d.component.ts/#iphysicsworld2dcomponent-interface","title":"IPhysicsWorld2dComponent (interface)","text":"Signature
export interface IPhysicsWorld2dComponent extends IPhysicsWorldComponent<Point2, number> {\n readonly factory: IPhysicsBody2dComponentFactory\n}\n
"},{"location":"modules/core/2d/components/physics/i-rigid-body-2d.component.ts/","title":"core/2d/components/physics/i-rigid-body-2d.component.ts","text":""},{"location":"modules/core/2d/components/physics/i-rigid-body-2d.component.ts/#i-rigid-body-2dcomponent-overview","title":"i-rigid-body-2d.component overviewTable of contents","text":" utils IRigidBody2dComponent (interface) "},{"location":"modules/core/2d/components/physics/i-rigid-body-2d.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/2d/components/physics/i-rigid-body-2d.component.ts/#irigidbody2dcomponent-interface","title":"IRigidBody2dComponent (interface)","text":"Signature
export interface IRigidBody2dComponent<PW extends IPhysicsWorld2dComponent = IPhysicsWorld2dComponent>\n extends IRigidBodyComponent<Point2, number, PW> {\n angularVelocity: number\n}\n
"},{"location":"modules/core/2d/components/physics/i-trigger-2d.component.ts/","title":"core/2d/components/physics/i-trigger-2d.component.ts","text":""},{"location":"modules/core/2d/components/physics/i-trigger-2d.component.ts/#i-trigger-2dcomponent-overview","title":"i-trigger-2d.component overviewTable of contents","text":" utils ITrigger2dComponent (interface) "},{"location":"modules/core/2d/components/physics/i-trigger-2d.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/2d/components/physics/i-trigger-2d.component.ts/#itrigger2dcomponent-interface","title":"ITrigger2dComponent (interface)","text":"Signature
export interface ITrigger2dComponent<PW extends IPhysicsWorld2dComponent = IPhysicsWorld2dComponent>\n extends ITriggerComponent<Point2, number, PW> {\n
"},{"location":"modules/core/2d/components/rendering/","title":"Modules","text":"Directory table of contents core/2d/components/rendering/i-display-object-2d.component.ts core/2d/components/rendering/i-renderer-2d.component.ts core/2d/components/rendering/i-visual-scene-2d.component.ts "},{"location":"modules/core/2d/components/rendering/i-display-object-2d.component.ts/","title":"core/2d/components/rendering/i-display-object-2d.component.ts","text":""},{"location":"modules/core/2d/components/rendering/i-display-object-2d.component.ts/#i-display-object-2dcomponent-overview","title":"i-display-object-2d.component overviewTable of contents","text":" utils IDisplayObject2dComponent (interface) "},{"location":"modules/core/2d/components/rendering/i-display-object-2d.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/2d/components/rendering/i-display-object-2d.component.ts/#idisplayobject2dcomponent-interface","title":"IDisplayObject2dComponent (interface)","text":"Signature
export interface IDisplayObject2dComponent<VS extends IVisualScene2dComponent = IVisualScene2dComponent>\n extends IDisplayObjectComponent<Point2, number, VS> {}\n
"},{"location":"modules/core/2d/components/rendering/i-renderer-2d.component.ts/","title":"core/2d/components/rendering/i-renderer-2d.component.ts","text":""},{"location":"modules/core/2d/components/rendering/i-renderer-2d.component.ts/#i-renderer-2dcomponent-overview","title":"i-renderer-2d.component overviewTable of contents","text":" utils IRenderer2dComponent (class) "},{"location":"modules/core/2d/components/rendering/i-renderer-2d.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/2d/components/rendering/i-renderer-2d.component.ts/#irenderer2dcomponent-class","title":"IRenderer2dComponent (class)","text":"Signature
export declare class IRenderer2dComponent<VS>\n
"},{"location":"modules/core/2d/components/rendering/i-visual-scene-2d.component.ts/","title":"core/2d/components/rendering/i-visual-scene-2d.component.ts","text":""},{"location":"modules/core/2d/components/rendering/i-visual-scene-2d.component.ts/#i-visual-scene-2dcomponent-overview","title":"i-visual-scene-2d.component overviewTable of contents","text":" utils IVisualScene2dComponent (interface) "},{"location":"modules/core/2d/components/rendering/i-visual-scene-2d.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/2d/components/rendering/i-visual-scene-2d.component.ts/#ivisualscene2dcomponent-interface","title":"IVisualScene2dComponent (interface)","text":"Signature
export interface IVisualScene2dComponent extends IVisualSceneComponent<Point2, number> {\n readonly factory: IGg2dObjectFactory\n\n createRenderer(canvas?: HTMLCanvasElement, rendererOptions?: Partial<RendererOptions>): IRenderer2dComponent\n}\n
"},{"location":"modules/core/2d/entities/","title":"Modules","text":"Directory table of contents core/2d/entities/controllers core/2d/entities/entity-2d.ts core/2d/entities/i-renderable-2d.entity.ts core/2d/entities/renderer-2d.entity.ts core/2d/entities/trigger-2d.entity.ts "},{"location":"modules/core/2d/entities/entity-2d.ts/","title":"core/2d/entities/entity-2d.ts","text":""},{"location":"modules/core/2d/entities/entity-2d.ts/#entity-2d-overview","title":"entity-2d overviewTable of contents","text":" utils Entity2d (class) updateVisibility (method) runTransformBinding (method) tickOrder (property) "},{"location":"modules/core/2d/entities/entity-2d.ts/#utils","title":"utils","text":""},{"location":"modules/core/2d/entities/entity-2d.ts/#entity2d-class","title":"Entity2d (class)","text":"Signature
export declare class Entity2d<VS, PW> {\n constructor(\n public readonly object2D: IDisplayObject2dComponent | null,\n public readonly objectBody: IRigidBody2dComponent | null\n )\n}\n
"},{"location":"modules/core/2d/entities/entity-2d.ts/#updatevisibility-method","title":"updateVisibility (method)","text":"Signature
public updateVisibility(): void\n
"},{"location":"modules/core/2d/entities/entity-2d.ts/#runtransformbinding-method","title":"runTransformBinding (method)","text":"Synchronize physics body transform with entity (and object2d if defined)
Signature
protected runTransformBinding(objectBody: IRigidBody2dComponent, object2D: IDisplayObject2dComponent | null): void\n
"},{"location":"modules/core/2d/entities/entity-2d.ts/#tickorder-property","title":"tickOrder (property)","text":"Signature
readonly tickOrder: TickOrder.OBJECTS_BINDING\n
"},{"location":"modules/core/2d/entities/i-renderable-2d.entity.ts/","title":"core/2d/entities/i-renderable-2d.entity.ts","text":""},{"location":"modules/core/2d/entities/i-renderable-2d.entity.ts/#i-renderable-2dentity-overview","title":"i-renderable-2d.entity overviewTable of contents","text":" utils IRenderable2dEntity (class) "},{"location":"modules/core/2d/entities/i-renderable-2d.entity.ts/#utils","title":"utils","text":""},{"location":"modules/core/2d/entities/i-renderable-2d.entity.ts/#irenderable2dentity-class","title":"IRenderable2dEntity (class)","text":"Signature
export declare class IRenderable2dEntity<VS, PW>\n
"},{"location":"modules/core/2d/entities/renderer-2d.entity.ts/","title":"core/2d/entities/renderer-2d.entity.ts","text":""},{"location":"modules/core/2d/entities/renderer-2d.entity.ts/#renderer-2dentity-overview","title":"renderer-2d.entity overviewTable of contents","text":" utils Renderer2dEntity (class) "},{"location":"modules/core/2d/entities/renderer-2d.entity.ts/#utils","title":"utils","text":""},{"location":"modules/core/2d/entities/renderer-2d.entity.ts/#renderer2dentity-class","title":"Renderer2dEntity (class)","text":"Signature
export declare class Renderer2dEntity<RC>\n
"},{"location":"modules/core/2d/entities/trigger-2d.entity.ts/","title":"core/2d/entities/trigger-2d.entity.ts","text":""},{"location":"modules/core/2d/entities/trigger-2d.entity.ts/#trigger-2dentity-overview","title":"trigger-2d.entity overviewTable of contents","text":" utils Trigger2dEntity (class) "},{"location":"modules/core/2d/entities/trigger-2d.entity.ts/#utils","title":"utils","text":""},{"location":"modules/core/2d/entities/trigger-2d.entity.ts/#trigger2dentity-class","title":"Trigger2dEntity (class)","text":"Signature
export declare class Trigger2dEntity {\n constructor(public readonly objectBody: ITrigger2dComponent)\n}\n
"},{"location":"modules/core/2d/entities/trigger-2d.entity.ts/#tickorder-property","title":"tickOrder (property)","text":"Signature
readonly tickOrder: TickOrder.OBJECTS_BINDING\n
"},{"location":"modules/core/2d/entities/controllers/","title":"Modules","text":"Directory table of contents core/2d/entities/controllers/entity-2d-positioning.animator.ts "},{"location":"modules/core/2d/entities/controllers/entity-2d-positioning.animator.ts/","title":"core/2d/entities/controllers/entity-2d-positioning.animator.ts","text":""},{"location":"modules/core/2d/entities/controllers/entity-2d-positioning.animator.ts/#entity-2d-positioninganimator-overview","title":"entity-2d-positioning.animator overviewTable of contents","text":" utils Entity2dPositioningAnimator (class) onSpawned (method) applyPositioning (method) "},{"location":"modules/core/2d/entities/controllers/entity-2d-positioning.animator.ts/#utils","title":"utils","text":""},{"location":"modules/core/2d/entities/controllers/entity-2d-positioning.animator.ts/#entity2dpositioninganimator-class","title":"Entity2dPositioningAnimator (class)","text":"Signature
export declare class Entity2dPositioningAnimator<T> {\n constructor(public entity: T, protected _animationFunction: AnimationFunction<Positioning2d>)\n}\n
"},{"location":"modules/core/2d/entities/controllers/entity-2d-positioning.animator.ts/#onspawned-method","title":"onSpawned (method)","text":"Signature
onSpawned(world: Gg2dWorld)\n
"},{"location":"modules/core/2d/entities/controllers/entity-2d-positioning.animator.ts/#applypositioning-method","title":"applyPositioning (method)","text":"Signature
protected applyPositioning(value: Positioning2d)\n
"},{"location":"modules/core/2d/interfaces/","title":"Modules","text":"Directory table of contents core/2d/interfaces/i-positionable-2d.ts "},{"location":"modules/core/2d/interfaces/i-positionable-2d.ts/","title":"core/2d/interfaces/i-positionable-2d.ts","text":""},{"location":"modules/core/2d/interfaces/i-positionable-2d.ts/#i-positionable-2d-overview","title":"i-positionable-2d overviewTable of contents","text":" utils IPositionable2d (interface) "},{"location":"modules/core/2d/interfaces/i-positionable-2d.ts/#utils","title":"utils","text":""},{"location":"modules/core/2d/interfaces/i-positionable-2d.ts/#ipositionable2d-interface","title":"IPositionable2d (interface)","text":"Signature
export interface IPositionable2d extends IPositionable<Point2, number> {}\n
"},{"location":"modules/core/2d/models/","title":"Modules","text":"Directory table of contents core/2d/models/body-options.ts core/2d/models/shapes.ts "},{"location":"modules/core/2d/models/body-options.ts/","title":"core/2d/models/body-options.ts","text":""},{"location":"modules/core/2d/models/body-options.ts/#body-options-overview","title":"body-options overviewTable of contents","text":" utils Body2DOptions (interface) "},{"location":"modules/core/2d/models/body-options.ts/#utils","title":"utils","text":""},{"location":"modules/core/2d/models/body-options.ts/#body2doptions-interface","title":"Body2DOptions (interface)","text":"Signature
export interface Body2DOptions extends BodyOptions {}\n
"},{"location":"modules/core/2d/models/shapes.ts/","title":"core/2d/models/shapes.ts","text":""},{"location":"modules/core/2d/models/shapes.ts/#shapes-overview","title":"shapes overviewTable of contents","text":" utils BodyShape2DDescriptor (type alias) Shape2DDescriptor (type alias) "},{"location":"modules/core/2d/models/shapes.ts/#utils","title":"utils","text":""},{"location":"modules/core/2d/models/shapes.ts/#bodyshape2ddescriptor-type-alias","title":"BodyShape2DDescriptor (type alias)","text":"Signature
export type BodyShape2DDescriptor = { shape: Shape2DDescriptor; body: Partial<Body2DOptions> }\n
"},{"location":"modules/core/2d/models/shapes.ts/#shape2ddescriptor-type-alias","title":"Shape2DDescriptor (type alias)","text":"Signature
export type Shape2DDescriptor = { shape: 'SQUARE'; dimensions: Point2 } | { shape: 'CIRCLE'; radius: number }\n
"},{"location":"modules/core/3d/","title":"Modules","text":"Directory table of contents core/3d/components core/3d/entities core/3d/factories.ts core/3d/gg-3d-world.ts core/3d/index.ts core/3d/interfaces core/3d/loader.ts core/3d/loaders.ts core/3d/models "},{"location":"modules/core/3d/factories.ts/","title":"core/3d/factories.ts","text":""},{"location":"modules/core/3d/factories.ts/#factories-overview","title":"factories overviewTable of contents","text":" utils IDisplayObject3dComponentFactory (class) createPrimitive (method) createBox (method) createCapsule (method) createCylinder (method) createCone (method) createSphere (method) IPhysicsBody3dComponentFactory (interface) "},{"location":"modules/core/3d/factories.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/factories.ts/#idisplayobject3dcomponentfactory-class","title":"IDisplayObject3dComponentFactory (class)","text":"Signature
export declare class IDisplayObject3dComponentFactory<DOC>\n
"},{"location":"modules/core/3d/factories.ts/#createprimitive-method","title":"createPrimitive (method)","text":"Signature
abstract createPrimitive(descriptor: Shape3DDescriptor, material?: any): DOC;\n
"},{"location":"modules/core/3d/factories.ts/#createbox-method","title":"createBox (method)","text":"Signature
createBox(dimensions: Point3, material?: any): DOC\n
"},{"location":"modules/core/3d/factories.ts/#createcapsule-method","title":"createCapsule (method)","text":"Signature
createCapsule(radius: number, centersDistance: number, material?: any): DOC\n
"},{"location":"modules/core/3d/factories.ts/#createcylinder-method","title":"createCylinder (method)","text":"Signature
createCylinder(radius: number, height: number, material?: any): DOC\n
"},{"location":"modules/core/3d/factories.ts/#createcone-method","title":"createCone (method)","text":"Signature
createCone(radius: number, height: number, material?: any): DOC\n
"},{"location":"modules/core/3d/factories.ts/#createsphere-method","title":"createSphere (method)","text":"Signature
createSphere(radius: number): DOC\n
"},{"location":"modules/core/3d/factories.ts/#iphysicsbody3dcomponentfactory-interface","title":"IPhysicsBody3dComponentFactory (interface)","text":"Signature
export interface IPhysicsBody3dComponentFactory<\n T extends IRigidBody3dComponent = IRigidBody3dComponent,\n K extends ITrigger3dComponent = ITrigger3dComponent\n> {\n createRigidBody(descriptor: BodyShape3DDescriptor, transform?: { position?: Point3; rotation?: Point4 }): T\n\n createTrigger(descriptor: Shape3DDescriptor, transform?: { position?: Point3; rotation?: Point4 }): K\n}\n
"},{"location":"modules/core/3d/gg-3d-world.ts/","title":"core/3d/gg-3d-world.ts","text":""},{"location":"modules/core/3d/gg-3d-world.ts/#gg-3d-world-overview","title":"gg-3d-world overviewTable of contents","text":" utils Gg3dWorld (class) addPrimitiveRigidBody (method) addRenderer (method) loader (property) "},{"location":"modules/core/3d/gg-3d-world.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/gg-3d-world.ts/#gg3dworld-class","title":"Gg3dWorld (class)","text":"Signature
export declare class Gg3dWorld<V, P> {\n constructor(public readonly visualScene: V, public readonly physicsWorld: P)\n}\n
"},{"location":"modules/core/3d/gg-3d-world.ts/#addprimitiverigidbody-method","title":"addPrimitiveRigidBody (method)","text":"Signature
addPrimitiveRigidBody(\n descr: BodyShape3DDescriptor,\n position: Point3 = Pnt3.O,\n rotation: Point4 = Qtrn.O,\n ): Entity3d<V, P>\n
"},{"location":"modules/core/3d/gg-3d-world.ts/#addrenderer-method","title":"addRenderer (method)","text":"Signature
addRenderer<\n CC extends ICameraComponent<V> = ICameraComponent<V>,\n RC extends IRenderer3dComponent<V, CC> = IRenderer3dComponent<V, CC>,\n >(camera: CC, canvas?: HTMLCanvasElement, rendererOptions?: Partial<RendererOptions>): Renderer3dEntity<V, CC, RC>\n
"},{"location":"modules/core/3d/gg-3d-world.ts/#loader-property","title":"loader (property)","text":"Signature
readonly loader: Gg3dLoader\n
"},{"location":"modules/core/3d/index.ts/","title":"core/3d/index.ts","text":""},{"location":"modules/core/3d/index.ts/#index-overview","title":"index overviewTable of contents","text":""},{"location":"modules/core/3d/loader.ts/","title":"core/3d/loader.ts","text":""},{"location":"modules/core/3d/loader.ts/#loader-overview","title":"loader overviewTable of contents","text":" utils Gg3dLoader (class) loadGgGlbFiles (method) loadGgGlbResources (method) loadGgGlb (method) filesCache (property) loadResultCache (property) LoadOptions (type alias) LoadResourcesResult (type alias) LoadResult (type alias) LoadResultWithProps (type alias) "},{"location":"modules/core/3d/loader.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/loader.ts/#gg3dloader-class","title":"Gg3dLoader (class)","text":"Signature
export declare class Gg3dLoader {\n constructor(protected readonly world: Gg3dWorld)\n}\n
"},{"location":"modules/core/3d/loader.ts/#loadggglbfiles-method","title":"loadGgGlbFiles (method)","text":"Signature
public async loadGgGlbFiles(path: string, useCache: boolean = false): Promise<[ArrayBuffer, GgMeta]>\n
"},{"location":"modules/core/3d/loader.ts/#loadggglbresources-method","title":"loadGgGlbResources (method)","text":"Signature
public async loadGgGlbResources(\n path: string,\n cachingStrategy: CachingStrategy = CachingStrategy.Nothing,\n ): Promise<LoadResourcesResult>\n
"},{"location":"modules/core/3d/loader.ts/#loadggglb-method","title":"loadGgGlb (method)","text":"Signature
public async loadGgGlb(\n path: string,\n options: Partial<LoadOptions> = defaultLoadOptions,\n ): Promise<LoadResultWithProps>\n
"},{"location":"modules/core/3d/loader.ts/#filescache-property","title":"filesCache (property)","text":"Signature
readonly filesCache: any\n
"},{"location":"modules/core/3d/loader.ts/#loadresultcache-property","title":"loadResultCache (property)","text":"Signature
readonly loadResultCache: any\n
"},{"location":"modules/core/3d/loader.ts/#loadoptions-type-alias","title":"LoadOptions (type alias)","text":"Signature
export type LoadOptions = {\n // whether to cache anything\n // \"Nothing\" does not cache anything\n // \"Files\" caches GLB+Meta file contents\n // \"Entities\" clones and saves parsed from GLB+Meta objects and bodies\n cachingStrategy: CachingStrategy\n // initial position\n position: Point3\n // initial rotation\n rotation: Point4\n // process dummies with flag is_prop\n loadProps: boolean\n // path where to find prop scenes\n propsPath?: string\n}\n
"},{"location":"modules/core/3d/loader.ts/#loadresourcesresult-type-alias","title":"LoadResourcesResult (type alias)","text":"Signature
export type LoadResourcesResult = {\n resources: { object3D: IDisplayObject3dComponent | null; body: IRigidBody3dComponent | null }[]\n meta: GgMeta\n}\n
"},{"location":"modules/core/3d/loader.ts/#loadresult-type-alias","title":"LoadResult (type alias)","text":"Signature
export type LoadResult = {\n entities: Entity3d[]\n meta: GgMeta\n}\n
"},{"location":"modules/core/3d/loader.ts/#loadresultwithprops-type-alias","title":"LoadResultWithProps (type alias)","text":"Signature
export type LoadResultWithProps = LoadResult & { props?: LoadResult[] }\n
"},{"location":"modules/core/3d/loaders.ts/","title":"core/3d/loaders.ts","text":""},{"location":"modules/core/3d/loaders.ts/#loaders-overview","title":"loaders overviewTable of contents","text":" utils IDisplayObject3dComponentLoader (interface) IPhysicsBody3dComponentLoader (class) "},{"location":"modules/core/3d/loaders.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/loaders.ts/#idisplayobject3dcomponentloader-interface","title":"IDisplayObject3dComponentLoader (interface)","text":"Signature
export interface IDisplayObject3dComponentLoader {\n loadFromGgGlb(glbFile: ArrayBuffer, meta: GgMeta): Promise<IDisplayObject3dComponent | null>\n}\n
"},{"location":"modules/core/3d/loaders.ts/#iphysicsbody3dcomponentloader-class","title":"IPhysicsBody3dComponentLoader (class)","text":"Signature
export declare class IPhysicsBody3dComponentLoader {\n protected constructor(protected readonly world: IPhysicsWorld3dComponent)\n}\n
"},{"location":"modules/core/3d/loaders.ts/#loadfromggglb-method","title":"loadFromGgGlb (method)","text":"Signature
async loadFromGgGlb(glbFile: ArrayBuffer, meta: GgMeta): Promise<IRigidBody3dComponent[]>\n
"},{"location":"modules/core/3d/components/","title":"Modules","text":"Directory table of contents core/3d/components/physics core/3d/components/rendering "},{"location":"modules/core/3d/components/physics/","title":"Modules","text":"Directory table of contents core/3d/components/physics/i-physics-world-3d.component.ts core/3d/components/physics/i-raycast-vehicle.component.ts core/3d/components/physics/i-rigid-body-3d.component.ts core/3d/components/physics/i-trigger-3d.component.ts "},{"location":"modules/core/3d/components/physics/i-physics-world-3d.component.ts/","title":"core/3d/components/physics/i-physics-world-3d.component.ts","text":""},{"location":"modules/core/3d/components/physics/i-physics-world-3d.component.ts/#i-physics-world-3dcomponent-overview","title":"i-physics-world-3d.component overviewTable of contents","text":" utils IPhysicsWorld3dComponent (interface) "},{"location":"modules/core/3d/components/physics/i-physics-world-3d.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/components/physics/i-physics-world-3d.component.ts/#iphysicsworld3dcomponent-interface","title":"IPhysicsWorld3dComponent (interface)","text":"Signature
export interface IPhysicsWorld3dComponent extends IPhysicsWorldComponent<Point3, Point4> {\n readonly factory: IPhysicsBody3dComponentFactory\n readonly loader: IPhysicsBody3dComponentLoader\n}\n
"},{"location":"modules/core/3d/components/physics/i-raycast-vehicle.component.ts/","title":"core/3d/components/physics/i-raycast-vehicle.component.ts","text":""},{"location":"modules/core/3d/components/physics/i-raycast-vehicle.component.ts/#i-raycast-vehiclecomponent-overview","title":"i-raycast-vehicle.component overviewTable of contents","text":" utils IRaycastVehicleComponent (interface) SuspensionOptions (type alias) WheelOptions (type alias) "},{"location":"modules/core/3d/components/physics/i-raycast-vehicle.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/components/physics/i-raycast-vehicle.component.ts/#iraycastvehiclecomponent-interface","title":"IRaycastVehicleComponent (interface)","text":"Signature
export interface IRaycastVehicleComponent<PW extends IPhysicsWorld3dComponent = IPhysicsWorld3dComponent>\n extends IRigidBody3dComponent<PW> {\n
"},{"location":"modules/core/3d/components/physics/i-raycast-vehicle.component.ts/#suspensionoptions-type-alias","title":"SuspensionOptions (type alias)","text":"Signature
export type SuspensionOptions = {\n stiffness: number\n damping: number\n compression: number\n restLength: number\n}\n
"},{"location":"modules/core/3d/components/physics/i-raycast-vehicle.component.ts/#wheeloptions-type-alias","title":"WheelOptions (type alias)","text":"Signature
export type WheelOptions = {\n isLeft: boolean\n isFront: boolean\n tyreWidth: number\n tyreRadius: number\n position: Point3\n frictionSlip: number // friction with road\n rollInfluence: number\n maxTravel: number\n}\n
"},{"location":"modules/core/3d/components/physics/i-rigid-body-3d.component.ts/","title":"core/3d/components/physics/i-rigid-body-3d.component.ts","text":""},{"location":"modules/core/3d/components/physics/i-rigid-body-3d.component.ts/#i-rigid-body-3dcomponent-overview","title":"i-rigid-body-3d.component overviewTable of contents","text":" utils IRigidBody3dComponent (interface) "},{"location":"modules/core/3d/components/physics/i-rigid-body-3d.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/components/physics/i-rigid-body-3d.component.ts/#irigidbody3dcomponent-interface","title":"IRigidBody3dComponent (interface)","text":"Signature
export interface IRigidBody3dComponent<PW extends IPhysicsWorld3dComponent = IPhysicsWorld3dComponent>\n extends IRigidBodyComponent<Point3, Point4, PW> {\n angularVelocity: Point3\n}\n
"},{"location":"modules/core/3d/components/physics/i-trigger-3d.component.ts/","title":"core/3d/components/physics/i-trigger-3d.component.ts","text":""},{"location":"modules/core/3d/components/physics/i-trigger-3d.component.ts/#i-trigger-3dcomponent-overview","title":"i-trigger-3d.component overviewTable of contents","text":" utils ITrigger3dComponent (interface) "},{"location":"modules/core/3d/components/physics/i-trigger-3d.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/components/physics/i-trigger-3d.component.ts/#itrigger3dcomponent-interface","title":"ITrigger3dComponent (interface)","text":"Signature
export interface ITrigger3dComponent<PW extends IPhysicsWorld3dComponent = IPhysicsWorld3dComponent>\n extends ITriggerComponent<Point3, Point4, PW> {\n
"},{"location":"modules/core/3d/components/rendering/","title":"Modules","text":"Directory table of contents core/3d/components/rendering/i-camera.component.ts core/3d/components/rendering/i-display-object-3d.component.ts core/3d/components/rendering/i-renderer-3d.component.ts core/3d/components/rendering/i-visual-scene-3d.component.ts "},{"location":"modules/core/3d/components/rendering/i-camera.component.ts/","title":"core/3d/components/rendering/i-camera.component.ts","text":""},{"location":"modules/core/3d/components/rendering/i-camera.component.ts/#i-cameracomponent-overview","title":"i-camera.component overviewTable of contents","text":" utils ICameraComponent (interface) "},{"location":"modules/core/3d/components/rendering/i-camera.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/components/rendering/i-camera.component.ts/#icameracomponent-interface","title":"ICameraComponent (interface)","text":"Signature
export interface ICameraComponent<VS extends IVisualScene3dComponent = IVisualScene3dComponent>\n extends IDisplayObject3dComponent<VS> {\n
"},{"location":"modules/core/3d/components/rendering/i-display-object-3d.component.ts/","title":"core/3d/components/rendering/i-display-object-3d.component.ts","text":""},{"location":"modules/core/3d/components/rendering/i-display-object-3d.component.ts/#i-display-object-3dcomponent-overview","title":"i-display-object-3d.component overviewTable of contents","text":" utils IDisplayObject3dComponent (interface) "},{"location":"modules/core/3d/components/rendering/i-display-object-3d.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/components/rendering/i-display-object-3d.component.ts/#idisplayobject3dcomponent-interface","title":"IDisplayObject3dComponent (interface)","text":"Signature
export interface IDisplayObject3dComponent<VS extends IVisualScene3dComponent = IVisualScene3dComponent>\n extends IDisplayObjectComponent<Point3, Point4, VS> {}\n
"},{"location":"modules/core/3d/components/rendering/i-renderer-3d.component.ts/","title":"core/3d/components/rendering/i-renderer-3d.component.ts","text":""},{"location":"modules/core/3d/components/rendering/i-renderer-3d.component.ts/#i-renderer-3dcomponent-overview","title":"i-renderer-3d.component overviewTable of contents","text":" utils IRenderer3dComponent (class) "},{"location":"modules/core/3d/components/rendering/i-renderer-3d.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/components/rendering/i-renderer-3d.component.ts/#irenderer3dcomponent-class","title":"IRenderer3dComponent (class)","text":"Signature
export declare class IRenderer3dComponent<VS, CC>\n
"},{"location":"modules/core/3d/components/rendering/i-renderer-3d.component.ts/#camera-property","title":"camera (property)","text":"Signature
camera: CC\n
"},{"location":"modules/core/3d/components/rendering/i-visual-scene-3d.component.ts/","title":"core/3d/components/rendering/i-visual-scene-3d.component.ts","text":""},{"location":"modules/core/3d/components/rendering/i-visual-scene-3d.component.ts/#i-visual-scene-3dcomponent-overview","title":"i-visual-scene-3d.component overviewTable of contents","text":" utils IVisualScene3dComponent (interface) "},{"location":"modules/core/3d/components/rendering/i-visual-scene-3d.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/components/rendering/i-visual-scene-3d.component.ts/#ivisualscene3dcomponent-interface","title":"IVisualScene3dComponent (interface)","text":"Signature
export interface IVisualScene3dComponent extends IVisualSceneComponent<Point3, Point4> {\n readonly factory: IDisplayObject3dComponentFactory\n readonly loader: IDisplayObject3dComponentLoader\n\n createRenderer(\n camera: ICameraComponent,\n canvas?: HTMLCanvasElement,\n rendererOptions?: Partial<RendererOptions>\n ): IRenderer3dComponent\n}\n
"},{"location":"modules/core/3d/entities/","title":"Modules","text":"Directory table of contents core/3d/entities/controllers core/3d/entities/entity-3d.ts core/3d/entities/gg-car core/3d/entities/i-renderable-3d.entity.ts core/3d/entities/map-graph-3d.entity.ts core/3d/entities/raycast-vehicle-3d.entity.ts core/3d/entities/renderer-3d.entity.ts core/3d/entities/trigger-3d.entity.ts "},{"location":"modules/core/3d/entities/entity-3d.ts/","title":"core/3d/entities/entity-3d.ts","text":""},{"location":"modules/core/3d/entities/entity-3d.ts/#entity-3d-overview","title":"entity-3d overviewTable of contents","text":" utils Entity3d (class) updateVisibility (method) runTransformBinding (method) tickOrder (property) "},{"location":"modules/core/3d/entities/entity-3d.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/entities/entity-3d.ts/#entity3d-class","title":"Entity3d (class)","text":"Signature
export declare class Entity3d<VS, PW> {\n constructor(\n public readonly object3D: IDisplayObject3dComponent | null,\n public readonly objectBody: IRigidBody3dComponent | null = null\n )\n}\n
"},{"location":"modules/core/3d/entities/entity-3d.ts/#updatevisibility-method","title":"updateVisibility (method)","text":"Signature
public updateVisibility(): void\n
"},{"location":"modules/core/3d/entities/entity-3d.ts/#runtransformbinding-method","title":"runTransformBinding (method)","text":"Synchronize physics body transform with entity (and mesh if defined)
Signature
protected runTransformBinding(objectBody: IRigidBody3dComponent, object3D: IDisplayObject3dComponent | null): void\n
"},{"location":"modules/core/3d/entities/entity-3d.ts/#tickorder-property","title":"tickOrder (property)","text":"Signature
readonly tickOrder: TickOrder.OBJECTS_BINDING\n
"},{"location":"modules/core/3d/entities/i-renderable-3d.entity.ts/","title":"core/3d/entities/i-renderable-3d.entity.ts","text":""},{"location":"modules/core/3d/entities/i-renderable-3d.entity.ts/#i-renderable-3dentity-overview","title":"i-renderable-3d.entity overviewTable of contents","text":" utils IRenderable3dEntity (class) "},{"location":"modules/core/3d/entities/i-renderable-3d.entity.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/entities/i-renderable-3d.entity.ts/#irenderable3dentity-class","title":"IRenderable3dEntity (class)","text":"Signature
export declare class IRenderable3dEntity<VS, PW>\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/","title":"core/3d/entities/map-graph-3d.entity.ts","text":""},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#map-graph-3dentity-overview","title":"map-graph-3d.entity overviewTable of contents","text":" utils Gg3dMapGraphEntityOptions (type alias) MapGraph (class) fromMapArray (static method) fromMapSquareGrid (static method) getNearestDummy (method) nodes (method) MapGraph3dEntity (class) onSpawned (method) onRemoved (method) loadChunk (method) disposeChunk (method) tickOrder (property) loaderCursorEntity$ (property) loaded (property) _chunkLoaded$ (property) _world (property) mapGraphNodes (property) options (property) MapGraphNodeType (type alias) "},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#gg3dmapgraphentityoptions-type-alias","title":"Gg3dMapGraphEntityOptions (type alias)","text":"Signature
export type Gg3dMapGraphEntityOptions = {\n // depth in tree to load. 0 means load only the nearest node, 1 means nearest + all of it's neighbours etc.\n loadDepth: number\n // additional depth, means unload delay. Nodes with this depth won't load, but if already loaded, will not be destroyed\n inertia: number\n}\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#mapgraph-class","title":"MapGraph (class)","text":"Signature
export declare class MapGraph\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#frommaparray-static-method","title":"fromMapArray (static method)","text":"Creates a new MapGraph instance from an array of elements, where each element in the array is a node in the graph. The first element of the array is used as the root node of the graph.
Signature
static fromMapArray(array: MapGraphNodeType[], closed: boolean = false): MapGraph\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#frommapsquaregrid-static-method","title":"fromMapSquareGrid (static method)","text":"Creates a new MapGraph instance from a two-dimensional square grid of elements, where each element in the grid is a node in the graph. The top-left element of the grid is used as the root node of the graph. The nodes in the graph are created in the same order as the elements in the grid, from left to right and then from top to bottom.
Signature
static fromMapSquareGrid(grid: MapGraphNodeType[][]): MapGraph\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#getnearestdummy-method","title":"getNearestDummy (method)","text":"Signature
public getNearestDummy(thisNodes: Graph<MapGraphNodeType>[], cursor: Point3): Graph<MapGraphNodeType>\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#nodes-method","title":"nodes (method)","text":"Signature
nodes(): MapGraph[]\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#mapgraph3dentity-class","title":"MapGraph3dEntity (class)","text":"Signature
export declare class MapGraph3dEntity {\n constructor(public readonly mapGraph: MapGraph, options: Partial<Gg3dMapGraphEntityOptions> = {})\n}\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#onspawned-method","title":"onSpawned (method)","text":"Signature
onSpawned(world: Gg3dWorld)\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#onremoved-method","title":"onRemoved (method)","text":"Signature
onRemoved()\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#loadchunk-method","title":"loadChunk (method)","text":"Signature
protected async loadChunk(node: MapGraphNodeType): Promise<[Entity3d[], LoadResultWithProps]>\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#disposechunk-method","title":"disposeChunk (method)","text":"Signature
protected disposeChunk(node: MapGraphNodeType)\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#tickorder-property","title":"tickOrder (property)","text":"Signature
readonly tickOrder: TickOrder.POST_RENDERING\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#loadercursorentity-property","title":"loaderCursorEntity$ (property)","text":"Signature
readonly loaderCursorEntity$: any\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#loaded-property","title":"loaded (property)","text":"Signature
readonly loaded: any\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#_chunkloaded-property","title":"_chunkLoaded$ (property)","text":"Signature
_chunkLoaded$: any\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#_world-property","title":"_world (property)","text":"Signature
_world: Gg3dWorld<IVisualScene3dComponent, IPhysicsWorld3dComponent> | null\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#mapgraphnodes-property","title":"mapGraphNodes (property)","text":"Signature
readonly mapGraphNodes: MapGraph[]\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#options-property","title":"options (property)","text":"Signature
readonly options: Gg3dMapGraphEntityOptions\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#mapgraphnodetype-type-alias","title":"MapGraphNodeType (type alias)","text":"Signature
export type MapGraphNodeType = {\n path: string\n position: Point3\n rotation?: Point4\n loadOptions: Partial<Omit<LoadOptions, 'position' | 'rotation'>>\n}\n
"},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/","title":"core/3d/entities/raycast-vehicle-3d.entity.ts","text":""},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#raycast-vehicle-3dentity-overview","title":"raycast-vehicle-3d.entity overviewTable of contents","text":" utils RVEntityAxleOptions (type alias) RVEntityProperties (type alias) RVEntitySharedWheelOptions (type alias) RaycastVehicle3dEntity (class) getSpeed (method) applyTractionForce (method) applyBrake (method) runTransformBinding (method) resetTo (method) wheels (property) wheelLocalRotation (property) frontWheelsIndices (property) rearWheelsIndices (property) tractionWheelIndices (property) tractionWheelRadius (property) WheelDisplayOptions (type alias) "},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#rventityaxleoptions-type-alias","title":"RVEntityAxleOptions (type alias)","text":"Signature
export type RVEntityAxleOptions = {\n halfAxleWidth: number\n axlePosition: number\n axleHeight: number\n} & RVEntitySharedWheelOptions\n
"},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#rventityproperties-type-alias","title":"RVEntityProperties (type alias)","text":"Signature
export type RVEntityProperties = {\n typeOfDrive: 'RWD' | 'FWD' | '4WD'\n suspension: SuspensionOptions\n} & (\n | {\n wheelBase: {\n shared: RVEntitySharedWheelOptions\n front: RVEntityAxleOptions\n rear: RVEntityAxleOptions\n }\n }\n | {\n wheelOptions: (RVEntitySharedWheelOptions & {\n isLeft: boolean\n isFront: boolean\n position: Point3\n })[]\n sharedWheelOptions?: RVEntitySharedWheelOptions\n }\n)\n
"},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#rventitysharedwheeloptions-type-alias","title":"RVEntitySharedWheelOptions (type alias)","text":"Signature
export type RVEntitySharedWheelOptions = {\n tyreWidth?: number\n tyreRadius?: number\n frictionSlip?: number\n rollInfluence?: number\n maxTravel?: number\n display?: WheelDisplayOptions\n}\n
"},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#raycastvehicle3dentity-class","title":"RaycastVehicle3dEntity (class)","text":"Signature
export declare class RaycastVehicle3dEntity {\n constructor(\n public readonly carProperties: RVEntityProperties,\n public readonly chassis3D: IDisplayObject3dComponent | null,\n public readonly chassisBody: IRaycastVehicleComponent\n )\n}\n
"},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#getspeed-method","title":"getSpeed (method)","text":"Signature
public getSpeed(): number\n
"},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#applytractionforce-method","title":"applyTractionForce (method)","text":"Signature
public applyTractionForce(force: number)\n
"},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#applybrake-method","title":"applyBrake (method)","text":"Signature
public applyBrake(axle: 'front' | 'rear' | 'both', force: number)\n
"},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#runtransformbinding-method","title":"runTransformBinding (method)","text":"Signature
protected runTransformBinding(objectBody: IRigidBody3dComponent, object3D: IDisplayObject3dComponent): void\n
"},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#resetto-method","title":"resetTo (method)","text":"Signature
public resetTo(\n options: {\n position?: Point3;\n rotation?: Point4;\n } = {},\n )\n
"},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#wheels-property","title":"wheels (property)","text":"Signature
readonly wheels: ((IEntity<any, any, IVisualSceneComponent<any, any>, IPhysicsWorldComponent<any, any>> & IPositionable3d) | null)[]\n
"},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#wheellocalrotation-property","title":"wheelLocalRotation (property)","text":"Signature
readonly wheelLocalRotation: (Point4 | null)[]\n
"},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#frontwheelsindices-property","title":"frontWheelsIndices (property)","text":"Signature
readonly frontWheelsIndices: number[]\n
"},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#rearwheelsindices-property","title":"rearWheelsIndices (property)","text":"Signature
readonly rearWheelsIndices: number[]\n
"},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#tractionwheelindices-property","title":"tractionWheelIndices (property)","text":"Signature
readonly tractionWheelIndices: number[]\n
"},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#tractionwheelradius-property","title":"tractionWheelRadius (property)","text":"Signature
readonly tractionWheelRadius: number\n
"},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#wheeldisplayoptions-type-alias","title":"WheelDisplayOptions (type alias)","text":"Signature
export type WheelDisplayOptions = {\n displayObject?: IDisplayObject3dComponent\n wheelObjectDirection?: AxisDirection3\n autoScaleMesh?: boolean\n}\n
"},{"location":"modules/core/3d/entities/renderer-3d.entity.ts/","title":"core/3d/entities/renderer-3d.entity.ts","text":""},{"location":"modules/core/3d/entities/renderer-3d.entity.ts/#renderer-3dentity-overview","title":"renderer-3d.entity overviewTable of contents","text":" utils Renderer3dEntity (class) "},{"location":"modules/core/3d/entities/renderer-3d.entity.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/entities/renderer-3d.entity.ts/#renderer3dentity-class","title":"Renderer3dEntity (class)","text":"Signature
export declare class Renderer3dEntity<VS, CC, RC>\n
"},{"location":"modules/core/3d/entities/trigger-3d.entity.ts/","title":"core/3d/entities/trigger-3d.entity.ts","text":""},{"location":"modules/core/3d/entities/trigger-3d.entity.ts/#trigger-3dentity-overview","title":"trigger-3d.entity overviewTable of contents","text":" utils Trigger3dEntity (class) "},{"location":"modules/core/3d/entities/trigger-3d.entity.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/entities/trigger-3d.entity.ts/#trigger3dentity-class","title":"Trigger3dEntity (class)","text":"Signature
export declare class Trigger3dEntity {\n constructor(public readonly objectBody: ITrigger3dComponent)\n}\n
"},{"location":"modules/core/3d/entities/trigger-3d.entity.ts/#tickorder-property","title":"tickOrder (property)","text":"Signature
readonly tickOrder: TickOrder.OBJECTS_BINDING\n
"},{"location":"modules/core/3d/entities/controllers/","title":"Modules","text":"Directory table of contents core/3d/entities/controllers/animators core/3d/entities/controllers/input "},{"location":"modules/core/3d/entities/controllers/animators/","title":"Modules","text":"Directory table of contents core/3d/entities/controllers/animators/camera-3d.animator.ts core/3d/entities/controllers/animators/entity-3d-positioning.animator.ts "},{"location":"modules/core/3d/entities/controllers/animators/camera-3d.animator.ts/","title":"core/3d/entities/controllers/animators/camera-3d.animator.ts","text":""},{"location":"modules/core/3d/entities/controllers/animators/camera-3d.animator.ts/#camera-3danimator-overview","title":"camera-3d.animator overviewTable of contents","text":" utils Camera3dAnimationArgs (type alias) Camera3dAnimator (class) onSpawned (method) applyPositioning (method) "},{"location":"modules/core/3d/entities/controllers/animators/camera-3d.animator.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/entities/controllers/animators/camera-3d.animator.ts/#camera3danimationargs-type-alias","title":"Camera3dAnimationArgs (type alias)","text":"Signature
export type Camera3dAnimationArgs = {\n position: Point3\n target: Point3\n up?: Point3\n fov?: number\n}\n
"},{"location":"modules/core/3d/entities/controllers/animators/camera-3d.animator.ts/#camera3danimator-class","title":"Camera3dAnimator (class)","text":"Signature
export declare class Camera3dAnimator {\n constructor(public entity: Renderer3dEntity, protected _animationFunction: AnimationFunction<Camera3dAnimationArgs>)\n}\n
"},{"location":"modules/core/3d/entities/controllers/animators/camera-3d.animator.ts/#onspawned-method","title":"onSpawned (method)","text":"Signature
onSpawned(world: Gg3dWorld)\n
"},{"location":"modules/core/3d/entities/controllers/animators/camera-3d.animator.ts/#applypositioning-method","title":"applyPositioning (method)","text":"Signature
protected applyPositioning(value: Camera3dAnimationArgs)\n
"},{"location":"modules/core/3d/entities/controllers/animators/entity-3d-positioning.animator.ts/","title":"core/3d/entities/controllers/animators/entity-3d-positioning.animator.ts","text":""},{"location":"modules/core/3d/entities/controllers/animators/entity-3d-positioning.animator.ts/#entity-3d-positioninganimator-overview","title":"entity-3d-positioning.animator overviewTable of contents","text":" utils Entity3dPositioningAnimator (class) onSpawned (method) applyPositioning (method) "},{"location":"modules/core/3d/entities/controllers/animators/entity-3d-positioning.animator.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/entities/controllers/animators/entity-3d-positioning.animator.ts/#entity3dpositioninganimator-class","title":"Entity3dPositioningAnimator (class)","text":"Signature
export declare class Entity3dPositioningAnimator<T> {\n constructor(public entity: T, protected _animationFunction: AnimationFunction<Positioning3d>)\n}\n
"},{"location":"modules/core/3d/entities/controllers/animators/entity-3d-positioning.animator.ts/#onspawned-method","title":"onSpawned (method)","text":"Signature
onSpawned(world: Gg3dWorld)\n
"},{"location":"modules/core/3d/entities/controllers/animators/entity-3d-positioning.animator.ts/#applypositioning-method","title":"applyPositioning (method)","text":"Signature
protected applyPositioning(value: Positioning3d)\n
"},{"location":"modules/core/3d/entities/controllers/input/","title":"Modules","text":"Directory table of contents core/3d/entities/controllers/input/car-keyboard-handling.controller.ts core/3d/entities/controllers/input/free-camera.controller.ts core/3d/entities/controllers/input/gg-car-keyboard-handling.controller.ts core/3d/entities/controllers/input/orbit-camera.controller.ts "},{"location":"modules/core/3d/entities/controllers/input/car-keyboard-handling.controller.ts/","title":"core/3d/entities/controllers/input/car-keyboard-handling.controller.ts","text":""},{"location":"modules/core/3d/entities/controllers/input/car-keyboard-handling.controller.ts/#car-keyboard-handlingcontroller-overview","title":"car-keyboard-handling.controller overviewTable of contents","text":" utils CarHandlingOutput (type alias) CarKeyboardControllerOptions (type alias) CarKeyboardHandlingController (class) onSpawned (method) onRemoved (method) tickOrder (property) directionsInput (property) "},{"location":"modules/core/3d/entities/controllers/input/car-keyboard-handling.controller.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/entities/controllers/input/car-keyboard-handling.controller.ts/#carhandlingoutput-type-alias","title":"CarHandlingOutput (type alias)","text":"Signature
export type CarHandlingOutput = { upDown: number; leftRight: number }\n
"},{"location":"modules/core/3d/entities/controllers/input/car-keyboard-handling.controller.ts/#carkeyboardcontrolleroptions-type-alias","title":"CarKeyboardControllerOptions (type alias)","text":"Signature
export type CarKeyboardControllerOptions = {\n readonly keymap: DirectionKeyboardKeymap\n readonly maxSteerDeltaPerSecond: number\n}\n
"},{"location":"modules/core/3d/entities/controllers/input/car-keyboard-handling.controller.ts/#carkeyboardhandlingcontroller-class","title":"CarKeyboardHandlingController (class)","text":"Signature
export declare class CarKeyboardHandlingController {\n constructor(\n protected readonly keyboard: KeyboardInput,\n protected readonly options: CarKeyboardControllerOptions = {\n keymap: 'arrows',\n maxSteerDeltaPerSecond: 12,\n }\n )\n}\n
"},{"location":"modules/core/3d/entities/controllers/input/car-keyboard-handling.controller.ts/#onspawned-method","title":"onSpawned (method)","text":"Signature
async onSpawned(world: GgWorld<any, any>): Promise<void>\n
"},{"location":"modules/core/3d/entities/controllers/input/car-keyboard-handling.controller.ts/#onremoved-method","title":"onRemoved (method)","text":"Signature
async onRemoved(): Promise<void>\n
"},{"location":"modules/core/3d/entities/controllers/input/car-keyboard-handling.controller.ts/#tickorder-property","title":"tickOrder (property)","text":"Signature
readonly tickOrder: TickOrder.INPUT_CONTROLLERS\n
"},{"location":"modules/core/3d/entities/controllers/input/car-keyboard-handling.controller.ts/#directionsinput-property","title":"directionsInput (property)","text":"Signature
readonly directionsInput: DirectionKeyboardInput\n
"},{"location":"modules/core/3d/entities/controllers/input/free-camera.controller.ts/","title":"core/3d/entities/controllers/input/free-camera.controller.ts","text":""},{"location":"modules/core/3d/entities/controllers/input/free-camera.controller.ts/#free-cameracontroller-overview","title":"free-camera.controller overviewTable of contents","text":" utils FreeCameraController (class) onSpawned (method) onRemoved (method) tickOrder (property) mouseInput (property) directionsInput (property) FreeCameraControllerOptions (type alias) "},{"location":"modules/core/3d/entities/controllers/input/free-camera.controller.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/entities/controllers/input/free-camera.controller.ts/#freecameracontroller-class","title":"FreeCameraController (class)","text":"A controller for a free-moving camera.
Signature
export declare class FreeCameraController {\n constructor(\n protected readonly keyboard: KeyboardInput,\n protected readonly camera: Renderer3dEntity,\n protected readonly options: FreeCameraControllerOptions = {\n keymap: 'wasd',\n movementOptions: { speed: 0.5 },\n mouseOptions: {},\n ignoreMouseUnlessPointerLocked: false,\n ignoreKeyboardUnlessPointerLocked: false,\n }\n )\n}\n
"},{"location":"modules/core/3d/entities/controllers/input/free-camera.controller.ts/#onspawned-method","title":"onSpawned (method)","text":"Signature
async onSpawned(world: GgWorld<any, any>): Promise<void>\n
"},{"location":"modules/core/3d/entities/controllers/input/free-camera.controller.ts/#onremoved-method","title":"onRemoved (method)","text":"Signature
async onRemoved(): Promise<void>\n
"},{"location":"modules/core/3d/entities/controllers/input/free-camera.controller.ts/#tickorder-property","title":"tickOrder (property)","text":"Signature
readonly tickOrder: TickOrder.INPUT_CONTROLLERS\n
"},{"location":"modules/core/3d/entities/controllers/input/free-camera.controller.ts/#mouseinput-property","title":"mouseInput (property)","text":"The mouse input controller used for camera rotation.
Signature
readonly mouseInput: MouseInput\n
"},{"location":"modules/core/3d/entities/controllers/input/free-camera.controller.ts/#directionsinput-property","title":"directionsInput (property)","text":"The keyboard input controller used for camera movement.
Signature
readonly directionsInput: DirectionKeyboardInput\n
"},{"location":"modules/core/3d/entities/controllers/input/free-camera.controller.ts/#freecameracontrolleroptions-type-alias","title":"FreeCameraControllerOptions (type alias)","text":"Options for configuring a FreeCameraInput controller.
Signature
export type FreeCameraControllerOptions = {\n /**\n * A keymap for controlling camera movement, where each key corresponds to a movement direction.\n */\n keymap: DirectionKeyboardKeymap\n /**\n * Options for configuring camera movement.\n */\n movementOptions: {\n /**\n * The speed of camera movement.\n */\n speed: number\n }\n /**\n * Flag to ignore cursor movement if pointer was not locked. By default false\n */\n ignoreMouseUnlessPointerLocked: boolean\n /**\n * Flag to ignore keyboard events if pointer was not locked. By default false\n */\n ignoreKeyboardUnlessPointerLocked: boolean\n /**\n * Options for configuring mouse input.\n */\n mouseOptions: Partial<MouseInputOptions>\n}\n
"},{"location":"modules/core/3d/entities/controllers/input/gg-car-keyboard-handling.controller.ts/","title":"core/3d/entities/controllers/input/gg-car-keyboard-handling.controller.ts","text":""},{"location":"modules/core/3d/entities/controllers/input/gg-car-keyboard-handling.controller.ts/#gg-car-keyboard-handlingcontroller-overview","title":"gg-car-keyboard-handling.controller overviewTable of contents","text":" utils GgCarKeyboardControllerOptions (type alias) GgCarKeyboardHandlingController (class) onSpawned (method) tickOrder (property) carHandlingInput (property) switchingGearsEnabled (property) "},{"location":"modules/core/3d/entities/controllers/input/gg-car-keyboard-handling.controller.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/entities/controllers/input/gg-car-keyboard-handling.controller.ts/#ggcarkeyboardcontrolleroptions-type-alias","title":"GgCarKeyboardControllerOptions (type alias)","text":"Signature
export type GgCarKeyboardControllerOptions = CarKeyboardControllerOptions & {\n gearUpDownKeys: [string, string]\n autoReverse: boolean\n handbrakeKey: string\n}\n
"},{"location":"modules/core/3d/entities/controllers/input/gg-car-keyboard-handling.controller.ts/#ggcarkeyboardhandlingcontroller-class","title":"GgCarKeyboardHandlingController (class)","text":"Signature
export declare class GgCarKeyboardHandlingController {\n constructor(\n protected readonly keyboard: KeyboardInput,\n public car: GgCarEntity | null,\n protected readonly options: GgCarKeyboardControllerOptions = {\n keymap: 'arrows',\n maxSteerDeltaPerSecond: 12,\n gearUpDownKeys: ['KeyA', 'KeyZ'],\n autoReverse: true,\n handbrakeKey: 'Space',\n }\n )\n}\n
"},{"location":"modules/core/3d/entities/controllers/input/gg-car-keyboard-handling.controller.ts/#onspawned-method","title":"onSpawned (method)","text":"Signature
async onSpawned(world: GgWorld<any, any>): Promise<void>\n
"},{"location":"modules/core/3d/entities/controllers/input/gg-car-keyboard-handling.controller.ts/#tickorder-property","title":"tickOrder (property)","text":"Signature
readonly tickOrder: TickOrder.INPUT_CONTROLLERS\n
"},{"location":"modules/core/3d/entities/controllers/input/gg-car-keyboard-handling.controller.ts/#carhandlinginput-property","title":"carHandlingInput (property)","text":"Signature
readonly carHandlingInput: CarKeyboardHandlingController\n
"},{"location":"modules/core/3d/entities/controllers/input/gg-car-keyboard-handling.controller.ts/#switchinggearsenabled-property","title":"switchingGearsEnabled (property)","text":"Signature
switchingGearsEnabled: boolean\n
"},{"location":"modules/core/3d/entities/controllers/input/orbit-camera.controller.ts/","title":"core/3d/entities/controllers/input/orbit-camera.controller.ts","text":""},{"location":"modules/core/3d/entities/controllers/input/orbit-camera.controller.ts/#orbit-cameracontroller-overview","title":"orbit-camera.controller overviewTable of contents","text":" utils OrbitCameraController (class) onSpawned (method) onRemoved (method) tickOrder (property) options (property) mouseInput (property) spherical (property) target (property) OrbitCameraControllerOptions (type alias) "},{"location":"modules/core/3d/entities/controllers/input/orbit-camera.controller.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/entities/controllers/input/orbit-camera.controller.ts/#orbitcameracontroller-class","title":"OrbitCameraController (class)","text":"Signature
export declare class OrbitCameraController {\n constructor(protected readonly camera: Renderer3dEntity, options: Partial<OrbitCameraControllerOptions> = {})\n}\n
"},{"location":"modules/core/3d/entities/controllers/input/orbit-camera.controller.ts/#onspawned-method","title":"onSpawned (method)","text":"Signature
async onSpawned(world: GgWorld<any, any>): Promise<void>\n
"},{"location":"modules/core/3d/entities/controllers/input/orbit-camera.controller.ts/#onremoved-method","title":"onRemoved (method)","text":"Signature
async onRemoved(): Promise<void>\n
"},{"location":"modules/core/3d/entities/controllers/input/orbit-camera.controller.ts/#tickorder-property","title":"tickOrder (property)","text":"Signature
readonly tickOrder: TickOrder.INPUT_CONTROLLERS\n
"},{"location":"modules/core/3d/entities/controllers/input/orbit-camera.controller.ts/#options-property","title":"options (property)","text":"Signature
readonly options: OrbitCameraControllerOptions\n
"},{"location":"modules/core/3d/entities/controllers/input/orbit-camera.controller.ts/#mouseinput-property","title":"mouseInput (property)","text":"Signature
readonly mouseInput: MouseInput\n
"},{"location":"modules/core/3d/entities/controllers/input/orbit-camera.controller.ts/#spherical-property","title":"spherical (property)","text":"Signature
spherical: MutableSpherical\n
"},{"location":"modules/core/3d/entities/controllers/input/orbit-camera.controller.ts/#target-property","title":"target (property)","text":"Signature
target: Point3\n
"},{"location":"modules/core/3d/entities/controllers/input/orbit-camera.controller.ts/#orbitcameracontrolleroptions-type-alias","title":"OrbitCameraControllerOptions (type alias)","text":"Signature
export type OrbitCameraControllerOptions = {\n mouseOptions: Partial<MouseInputOptions>\n orbiting: { sensitivityX: number; sensitivityY: number } | false\n zooming: { sensitivity: number } | false\n panning: { sensitivityX: number; sensitivityY: number } | false\n dollying: { sensitivity: number } | false\n}\n
"},{"location":"modules/core/3d/entities/gg-car/","title":"Modules","text":"Directory table of contents core/3d/entities/gg-car/gg-car.entity.ts "},{"location":"modules/core/3d/entities/gg-car/gg-car.entity.ts/","title":"core/3d/entities/gg-car/gg-car.entity.ts","text":""},{"location":"modules/core/3d/entities/gg-car/gg-car.entity.ts/#gg-carentity-overview","title":"gg-car.entity overviewTable of contents","text":" utils GgCarEntity (class) calculateRpmFromCarSpeed (method) setTailLightsOn (method) onSpawned (method) updateEngine (method) resetTo (method) tickOrder (property) _rpm$ (property) _acceleration$ (property) _brake$ (property) handBrake$ (property) raycastVehicle (property) GgCarProperties (type alias) "},{"location":"modules/core/3d/entities/gg-car/gg-car.entity.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/entities/gg-car/gg-car.entity.ts/#ggcarentity-class","title":"GgCarEntity (class)","text":"Signature
export declare class GgCarEntity {\n constructor(\n public readonly carProperties: GgCarProperties,\n chassis3D: IDisplayObject3dComponent | null,\n chassisBody: IRaycastVehicleComponent\n )\n}\n
"},{"location":"modules/core/3d/entities/gg-car/gg-car.entity.ts/#calculaterpmfromcarspeed-method","title":"calculateRpmFromCarSpeed (method)","text":"Signature
public calculateRpmFromCarSpeed(): number\n
"},{"location":"modules/core/3d/entities/gg-car/gg-car.entity.ts/#settaillightson-method","title":"setTailLightsOn (method)","text":"Signature
protected setTailLightsOn(value: boolean)\n
"},{"location":"modules/core/3d/entities/gg-car/gg-car.entity.ts/#onspawned-method","title":"onSpawned (method)","text":"Signature
onSpawned(world: Gg3dWorld)\n
"},{"location":"modules/core/3d/entities/gg-car/gg-car.entity.ts/#updateengine-method","title":"updateEngine (method)","text":"Signature
protected updateEngine(delta: number)\n
"},{"location":"modules/core/3d/entities/gg-car/gg-car.entity.ts/#resetto-method","title":"resetTo (method)","text":"Signature
public resetTo(\n options: {\n position?: Point3;\n rotation?: Point4;\n } = {},\n )\n
"},{"location":"modules/core/3d/entities/gg-car/gg-car.entity.ts/#tickorder-property","title":"tickOrder (property)","text":"Signature
readonly tickOrder: number\n
"},{"location":"modules/core/3d/entities/gg-car/gg-car.entity.ts/#_rpm-property","title":"_rpm$ (property)","text":"Signature
readonly _rpm$: any\n
"},{"location":"modules/core/3d/entities/gg-car/gg-car.entity.ts/#_acceleration-property","title":"_acceleration$ (property)","text":"Signature
_acceleration$: any\n
"},{"location":"modules/core/3d/entities/gg-car/gg-car.entity.ts/#_brake-property","title":"_brake$ (property)","text":"Signature
_brake$: any\n
"},{"location":"modules/core/3d/entities/gg-car/gg-car.entity.ts/#handbrake-property","title":"handBrake$ (property)","text":"Signature
handBrake$: any\n
"},{"location":"modules/core/3d/entities/gg-car/gg-car.entity.ts/#raycastvehicle-property","title":"raycastVehicle (property)","text":"Signature
readonly raycastVehicle: RaycastVehicle3dEntity\n
"},{"location":"modules/core/3d/entities/gg-car/gg-car.entity.ts/#ggcarproperties-type-alias","title":"GgCarProperties (type alias)","text":"Signature
export type GgCarProperties = RVEntityProperties & {\n mpsToRpmFactor?: number\n engine: {\n minRpm: number\n maxRpm: number\n torques: {\n rpm: number\n torque: number\n }[]\n maxRpmIncreasePerSecond: number\n maxRpmDecreasePerSecond: number\n }\n brake: {\n frontAxleForce: number\n rearAxleForce: number\n handbrakeForce: number\n }\n transmission: {\n isAuto: boolean\n reverseGearRatio: number\n gearRatios: number[]\n drivelineEfficiency: number\n finalDriveRatio: number // differential\n upShifts: number[]\n autoHold: boolean\n }\n maxSteerAngle: number\n}\n
"},{"location":"modules/core/3d/interfaces/","title":"Modules","text":"Directory table of contents core/3d/interfaces/i-positionable-3d.ts "},{"location":"modules/core/3d/interfaces/i-positionable-3d.ts/","title":"core/3d/interfaces/i-positionable-3d.ts","text":""},{"location":"modules/core/3d/interfaces/i-positionable-3d.ts/#i-positionable-3d-overview","title":"i-positionable-3d overviewTable of contents","text":" utils IPositionable3d (interface) "},{"location":"modules/core/3d/interfaces/i-positionable-3d.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/interfaces/i-positionable-3d.ts/#ipositionable3d-interface","title":"IPositionable3d (interface)","text":"Signature
export interface IPositionable3d extends IPositionable<Point3, Point4> {}\n
"},{"location":"modules/core/3d/models/","title":"Modules","text":"Directory table of contents core/3d/models/body-options.ts core/3d/models/gg-meta.ts core/3d/models/shapes.ts "},{"location":"modules/core/3d/models/body-options.ts/","title":"core/3d/models/body-options.ts","text":""},{"location":"modules/core/3d/models/body-options.ts/#body-options-overview","title":"body-options overviewTable of contents","text":" utils Body3DOptions (interface) "},{"location":"modules/core/3d/models/body-options.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/models/body-options.ts/#body3doptions-interface","title":"Body3DOptions (interface)","text":"Signature
export interface Body3DOptions extends BodyOptions {}\n
"},{"location":"modules/core/3d/models/gg-meta.ts/","title":"core/3d/models/gg-meta.ts","text":""},{"location":"modules/core/3d/models/gg-meta.ts/#gg-meta-overview","title":"gg-meta overviewTable of contents","text":" utils GgCurve (type alias) GgDummy (type alias) GgMeta (type alias) GgRigidBody (type alias) "},{"location":"modules/core/3d/models/gg-meta.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/models/gg-meta.ts/#ggcurve-type-alias","title":"GgCurve (type alias)","text":"Signature
export type GgCurve = { name: string; cyclic: boolean; points: Point3[] } & any\n
"},{"location":"modules/core/3d/models/gg-meta.ts/#ggdummy-type-alias","title":"GgDummy (type alias)","text":"Signature
export type GgDummy = { name: string; position: Point3; rotation: Point4 } & any\n
"},{"location":"modules/core/3d/models/gg-meta.ts/#ggmeta-type-alias","title":"GgMeta (type alias)","text":"Signature
export type GgMeta = {\n dummies: GgDummy[]\n curves: GgCurve[]\n rigidBodies: GgRigidBody[]\n}\n
"},{"location":"modules/core/3d/models/gg-meta.ts/#ggrigidbody-type-alias","title":"GgRigidBody (type alias)","text":"Signature
export type GgRigidBody = { name: string; position: Point3; rotation: Point4 } & BodyShape3DDescriptor\n
"},{"location":"modules/core/3d/models/shapes.ts/","title":"core/3d/models/shapes.ts","text":""},{"location":"modules/core/3d/models/shapes.ts/#shapes-overview","title":"shapes overviewTable of contents","text":" utils BodyShape3DDescriptor (type alias) Shape3DDescriptor (type alias) "},{"location":"modules/core/3d/models/shapes.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/models/shapes.ts/#bodyshape3ddescriptor-type-alias","title":"BodyShape3DDescriptor (type alias)","text":"Signature
export type BodyShape3DDescriptor = { shape: Shape3DDescriptor; body: Partial<Body3DOptions> }\n
"},{"location":"modules/core/3d/models/shapes.ts/#shape3ddescriptor-type-alias","title":"Shape3DDescriptor (type alias)","text":"Signature
export type Shape3DDescriptor =\n | { shape: 'BOX'; dimensions: Point3 }\n | { shape: 'CONE' | 'CYLINDER'; radius: number; height: number }\n | { shape: 'CAPSULE'; radius: number; centersDistance: number }\n | { shape: 'SPHERE'; radius: number }\n | { shape: 'COMPOUND'; children: { position?: Point3; rotation?: Point4; shape: Shape3DDescriptor }[] }\n | { shape: 'CONVEX_HULL'; vertices: Point3[] }\n | { shape: 'MESH'; vertices: Point3[]; faces: [number, number, number][] }\n
"},{"location":"modules/core/base/","title":"Modules","text":"Directory table of contents core/base/clock core/base/components core/base/data-structures core/base/entities core/base/gg-world.ts core/base/index.ts core/base/inputs core/base/interfaces core/base/math core/base/models "},{"location":"modules/core/base/gg-world.ts/","title":"core/base/gg-world.ts","text":""},{"location":"modules/core/base/gg-world.ts/#gg-world-overview","title":"gg-world overviewTable of contents","text":" utils GgWorld (class) init (method) start (method) pauseWorld (method) resumeWorld (method) createClock (method) dispose (method) addPrimitiveRigidBody (method) addEntity (method) removeEntity (method) worldClock (property) keyboardInput (property) name (property) children (property) tickListeners (property) "},{"location":"modules/core/base/gg-world.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/gg-world.ts/#ggworld-class","title":"GgWorld (class)","text":"Signature
export declare class GgWorld<D, R, V, P> {\n protected constructor(public readonly visualScene: V, public readonly physicsWorld: P)\n}\n
"},{"location":"modules/core/base/gg-world.ts/#init-method","title":"init (method)","text":"Signature
public async init()\n
"},{"location":"modules/core/base/gg-world.ts/#start-method","title":"start (method)","text":"Signature
public start()\n
"},{"location":"modules/core/base/gg-world.ts/#pauseworld-method","title":"pauseWorld (method)","text":"Signature
public pauseWorld()\n
"},{"location":"modules/core/base/gg-world.ts/#resumeworld-method","title":"resumeWorld (method)","text":"Signature
public resumeWorld()\n
"},{"location":"modules/core/base/gg-world.ts/#createclock-method","title":"createClock (method)","text":"Signature
public createClock(autoStart: boolean): PausableClock\n
"},{"location":"modules/core/base/gg-world.ts/#dispose-method","title":"dispose (method)","text":"Signature
public dispose(): void\n
"},{"location":"modules/core/base/gg-world.ts/#addprimitiverigidbody-method","title":"addPrimitiveRigidBody (method)","text":"Signature
abstract addPrimitiveRigidBody(\n descr: any,\n position?: D,\n rotation?: R,\n ): IPositionable<D, R> & IRenderableEntity<D, R, V, P>;\n
"},{"location":"modules/core/base/gg-world.ts/#addentity-method","title":"addEntity (method)","text":"Signature
public addEntity(entity: IEntity): void\n
"},{"location":"modules/core/base/gg-world.ts/#removeentity-method","title":"removeEntity (method)","text":"Signature
public removeEntity(entity: IEntity, dispose = false): void\n
"},{"location":"modules/core/base/gg-world.ts/#worldclock-property","title":"worldClock (property)","text":"Signature
readonly worldClock: PausableClock\n
"},{"location":"modules/core/base/gg-world.ts/#keyboardinput-property","title":"keyboardInput (property)","text":"Signature
readonly keyboardInput: KeyboardInput\n
"},{"location":"modules/core/base/gg-world.ts/#name-property","title":"name (property)","text":"Signature
name: string\n
"},{"location":"modules/core/base/gg-world.ts/#children-property","title":"children (property)","text":"Signature
readonly children: IEntity<any, any, IVisualSceneComponent<any, any>, IPhysicsWorldComponent<any, any>>[]\n
"},{"location":"modules/core/base/gg-world.ts/#ticklisteners-property","title":"tickListeners (property)","text":"Signature
readonly tickListeners: IEntity<any, any, IVisualSceneComponent<any, any>, IPhysicsWorldComponent<any, any>>[]\n
"},{"location":"modules/core/base/index.ts/","title":"core/base/index.ts","text":""},{"location":"modules/core/base/index.ts/#index-overview","title":"index overviewTable of contents","text":""},{"location":"modules/core/base/clock/","title":"Modules","text":"Directory table of contents core/base/clock/global-clock.ts core/base/clock/i-clock.ts core/base/clock/pausable-clock.ts "},{"location":"modules/core/base/clock/global-clock.ts/","title":"core/base/clock/global-clock.ts","text":""},{"location":"modules/core/base/clock/global-clock.ts/#global-clock-overview","title":"global-clock overviewTable of contents","text":" utils GgGlobalClock (class) createChildClock (method) "},{"location":"modules/core/base/clock/global-clock.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/clock/global-clock.ts/#ggglobalclock-class","title":"GgGlobalClock (class)","text":"A singleton class, providing ability to track time, fire ticks, provide time elapsed + tick delta. Starts as soon as accessed and counts time from 01/01/1970
Signature
export declare class GgGlobalClock {\n private constructor()\n}\n
"},{"location":"modules/core/base/clock/global-clock.ts/#createchildclock-method","title":"createChildClock (method)","text":"Signature
createChildClock(autoStart: boolean): PausableClock\n
"},{"location":"modules/core/base/clock/i-clock.ts/","title":"core/base/clock/i-clock.ts","text":""},{"location":"modules/core/base/clock/i-clock.ts/#i-clock-overview","title":"i-clock overviewTable of contents","text":""},{"location":"modules/core/base/clock/i-clock.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/clock/i-clock.ts/#iclock-interface","title":"IClock (interface)","text":"Signature
export interface IClock {\n
"},{"location":"modules/core/base/clock/pausable-clock.ts/","title":"core/base/clock/pausable-clock.ts","text":""},{"location":"modules/core/base/clock/pausable-clock.ts/#pausable-clock-overview","title":"pausable-clock overviewTable of contents","text":" utils PausableClock (class) createChildClock (method) start (method) stop (method) pause (method) resume (method) startListeningTicks (method) stopListeningTicks (method) "},{"location":"modules/core/base/clock/pausable-clock.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/clock/pausable-clock.ts/#pausableclock-class","title":"PausableClock (class)","text":"A class, providing ability to track time, fire ticks, provide time elapsed + tick delta with ability to suspend/resume it.
Signature
export declare class PausableClock {\n constructor(autoStart: boolean = false, protected readonly parentClock: IClock = GgGlobalClock.instance)\n}\n
"},{"location":"modules/core/base/clock/pausable-clock.ts/#createchildclock-method","title":"createChildClock (method)","text":"Signature
createChildClock(autoStart: boolean): PausableClock\n
"},{"location":"modules/core/base/clock/pausable-clock.ts/#start-method","title":"start (method)","text":"Signature
start()\n
"},{"location":"modules/core/base/clock/pausable-clock.ts/#stop-method","title":"stop (method)","text":"Signature
stop()\n
"},{"location":"modules/core/base/clock/pausable-clock.ts/#pause-method","title":"pause (method)","text":"Signature
pause()\n
"},{"location":"modules/core/base/clock/pausable-clock.ts/#resume-method","title":"resume (method)","text":"Signature
resume()\n
"},{"location":"modules/core/base/clock/pausable-clock.ts/#startlisteningticks-method","title":"startListeningTicks (method)","text":"Signature
protected startListeningTicks()\n
"},{"location":"modules/core/base/clock/pausable-clock.ts/#stoplisteningticks-method","title":"stopListeningTicks (method)","text":"Signature
protected stopListeningTicks()\n
"},{"location":"modules/core/base/components/","title":"Modules","text":"Directory table of contents core/base/components/i-component.ts core/base/components/i-world-component.ts core/base/components/physics core/base/components/rendering "},{"location":"modules/core/base/components/i-component.ts/","title":"core/base/components/i-component.ts","text":""},{"location":"modules/core/base/components/i-component.ts/#i-component-overview","title":"i-component overviewTable of contents","text":" utils IComponent (interface) "},{"location":"modules/core/base/components/i-component.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/components/i-component.ts/#icomponent-interface","title":"IComponent (interface)","text":"Signature
export interface IComponent {\n dispose(): void\n}\n
"},{"location":"modules/core/base/components/i-world-component.ts/","title":"core/base/components/i-world-component.ts","text":""},{"location":"modules/core/base/components/i-world-component.ts/#i-world-component-overview","title":"i-world-component overviewTable of contents","text":" utils IWorldComponent (interface) "},{"location":"modules/core/base/components/i-world-component.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/components/i-world-component.ts/#iworldcomponent-interface","title":"IWorldComponent (interface)","text":"Signature
export interface IWorldComponent<\n D,\n R,\n V extends IVisualSceneComponent<D, R> = IVisualSceneComponent<D, R>,\n P extends IPhysicsWorldComponent<D, R> = IPhysicsWorldComponent<D, R>\n> {\n entity: IEntity | null\n addToWorld(world: GgWorld<D, R, V, P>): void\n removeFromWorld(world: GgWorld<D, R, V, P>, dispose?: boolean): void\n dispose(): void\n}\n
"},{"location":"modules/core/base/components/physics/","title":"Modules","text":"Directory table of contents core/base/components/physics/i-body.component.ts core/base/components/physics/i-physics-world.component.ts core/base/components/physics/i-rigid-body.component.ts core/base/components/physics/i-trigger.component.ts "},{"location":"modules/core/base/components/physics/i-body.component.ts/","title":"core/base/components/physics/i-body.component.ts","text":""},{"location":"modules/core/base/components/physics/i-body.component.ts/#i-bodycomponent-overview","title":"i-body.component overviewTable of contents","text":" utils IBodyComponent (interface) "},{"location":"modules/core/base/components/physics/i-body.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/components/physics/i-body.component.ts/#ibodycomponent-interface","title":"IBodyComponent (interface)","text":"Signature
export interface IBodyComponent<D, R, PW extends IPhysicsWorldComponent<D, R> = IPhysicsWorldComponent<D, R>>\n extends IWorldComponent<D, R, IVisualSceneComponent<D, R>, PW> {\n entity: IEntity | null\n\n position: D\n rotation: R\n\n name: string\n\n clone(): IBodyComponent<D, R, PW>\n\n addToWorld(world: GgWorld<D, R, IVisualSceneComponent<D, R>, PW>): void\n\n removeFromWorld(world: GgWorld<D, R, IVisualSceneComponent<D, R>, PW>): void\n}\n
"},{"location":"modules/core/base/components/physics/i-physics-world.component.ts/","title":"core/base/components/physics/i-physics-world.component.ts","text":""},{"location":"modules/core/base/components/physics/i-physics-world.component.ts/#i-physics-worldcomponent-overview","title":"i-physics-world.component overviewTable of contents","text":" utils IPhysicsWorldComponent (interface) "},{"location":"modules/core/base/components/physics/i-physics-world.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/components/physics/i-physics-world.component.ts/#iphysicsworldcomponent-interface","title":"IPhysicsWorldComponent (interface)","text":"Signature
export interface IPhysicsWorldComponent<D, R> extends IComponent {\n readonly factory: any; // type defined in sub-interfaces\n gravity: D;\n timeScale: number;\n
"},{"location":"modules/core/base/components/physics/i-rigid-body.component.ts/","title":"core/base/components/physics/i-rigid-body.component.ts","text":""},{"location":"modules/core/base/components/physics/i-rigid-body.component.ts/#i-rigid-bodycomponent-overview","title":"i-rigid-body.component overviewTable of contents","text":" utils IRigidBodyComponent (interface) "},{"location":"modules/core/base/components/physics/i-rigid-body.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/components/physics/i-rigid-body.component.ts/#irigidbodycomponent-interface","title":"IRigidBodyComponent (interface)","text":"Signature
export interface IRigidBodyComponent<D, R, PW extends IPhysicsWorldComponent<D, R> = IPhysicsWorldComponent<D, R>>\n extends IBodyComponent<D, R, PW> {\n linearVelocity: D\n angularVelocity: R | D\n\n clone(): IRigidBodyComponent<D, R, PW>\n\n /** clear velocities etc. */\n resetMotion(): void\n}\n
"},{"location":"modules/core/base/components/physics/i-trigger.component.ts/","title":"core/base/components/physics/i-trigger.component.ts","text":""},{"location":"modules/core/base/components/physics/i-trigger.component.ts/#i-triggercomponent-overview","title":"i-trigger.component overviewTable of contents","text":" utils ITriggerComponent (interface) "},{"location":"modules/core/base/components/physics/i-trigger.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/components/physics/i-trigger.component.ts/#itriggercomponent-interface","title":"ITriggerComponent (interface)","text":"Signature
export interface ITriggerComponent<D, R, PW extends IPhysicsWorldComponent<D, R> = IPhysicsWorldComponent<D, R>>\n extends IBodyComponent<D, R, PW> {\n
"},{"location":"modules/core/base/components/rendering/","title":"Modules","text":"Directory table of contents core/base/components/rendering/i-display-object.component.ts core/base/components/rendering/i-renderer.component.ts core/base/components/rendering/i-visual-scene.component.ts "},{"location":"modules/core/base/components/rendering/i-display-object.component.ts/","title":"core/base/components/rendering/i-display-object.component.ts","text":""},{"location":"modules/core/base/components/rendering/i-display-object.component.ts/#i-display-objectcomponent-overview","title":"i-display-object.component overviewTable of contents","text":" utils IDisplayObjectComponent (interface) "},{"location":"modules/core/base/components/rendering/i-display-object.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/components/rendering/i-display-object.component.ts/#idisplayobjectcomponent-interface","title":"IDisplayObjectComponent (interface)","text":"Signature
export interface IDisplayObjectComponent<D, R, VS extends IVisualSceneComponent<D, R> = IVisualSceneComponent<D, R>>\n extends IWorldComponent<D, R, VS> {\n position: D\n rotation: R\n scale: D\n\n visible: boolean\n\n name: string\n\n isEmpty(): boolean\n\n popChild(name: string): IDisplayObjectComponent<D, R, VS> | null\n\n getBoundings(): GgBox<D>\n\n clone(): IDisplayObjectComponent<D, R, VS>\n\n addToWorld(world: GgWorld<D, R, VS>): void\n\n removeFromWorld(world: GgWorld<D, R, VS>): void\n}\n
"},{"location":"modules/core/base/components/rendering/i-renderer.component.ts/","title":"core/base/components/rendering/i-renderer.component.ts","text":""},{"location":"modules/core/base/components/rendering/i-renderer.component.ts/#i-renderercomponent-overview","title":"i-renderer.component overviewTable of contents","text":" utils IRendererComponent (class) render (method) addToWorld (method) removeFromWorld (method) resizeRenderer (method) dispose (method) entity (property) rendererOptions (property) RendererOptions (type alias) "},{"location":"modules/core/base/components/rendering/i-renderer.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/components/rendering/i-renderer.component.ts/#irenderercomponent-class","title":"IRendererComponent (class)","text":"Signature
export declare class IRendererComponent<D, R, VS> {\n protected constructor(\n public readonly scene: VS,\n public readonly canvas?: HTMLCanvasElement,\n options: Partial<RendererOptions> = {}\n )\n}\n
"},{"location":"modules/core/base/components/rendering/i-renderer.component.ts/#render-method","title":"render (method)","text":"Renders the scene.
Signature
abstract render(): void;\n
"},{"location":"modules/core/base/components/rendering/i-renderer.component.ts/#addtoworld-method","title":"addToWorld (method)","text":"Signature
abstract addToWorld(world: GgWorld<D, R, VS, any>): void;\n
"},{"location":"modules/core/base/components/rendering/i-renderer.component.ts/#removefromworld-method","title":"removeFromWorld (method)","text":"Signature
abstract removeFromWorld(world: GgWorld<D, R, VS, any>): void;\n
"},{"location":"modules/core/base/components/rendering/i-renderer.component.ts/#resizerenderer-method","title":"resizeRenderer (method)","text":"Resizes the renderer to the specified size.
Signature
abstract resizeRenderer(newSize: Point2): void;\n
"},{"location":"modules/core/base/components/rendering/i-renderer.component.ts/#dispose-method","title":"dispose (method)","text":"Signature
abstract dispose(): void;\n
"},{"location":"modules/core/base/components/rendering/i-renderer.component.ts/#entity-property","title":"entity (property)","text":"Signature
entity: IEntity<any, any, IVisualSceneComponent<any, any>, IPhysicsWorldComponent<any, any>> | null\n
"},{"location":"modules/core/base/components/rendering/i-renderer.component.ts/#rendereroptions-property","title":"rendererOptions (property)","text":"Specifies the options for the renderer.
Signature
readonly rendererOptions: RendererOptions\n
"},{"location":"modules/core/base/components/rendering/i-renderer.component.ts/#rendereroptions-type-alias","title":"RendererOptions (type alias)","text":"Represents the options that can be passed to a renderer.
Signature
export type RendererOptions = {\n transparent: boolean\n background: number\n size: Point2 | 'fullscreen' | ((pageSize: Point2) => Point2) | Observable<Point2>\n forceResolution?: number\n antialias: boolean\n}\n
"},{"location":"modules/core/base/components/rendering/i-visual-scene.component.ts/","title":"core/base/components/rendering/i-visual-scene.component.ts","text":""},{"location":"modules/core/base/components/rendering/i-visual-scene.component.ts/#i-visual-scenecomponent-overview","title":"i-visual-scene.component overviewTable of contents","text":" utils IVisualSceneComponent (interface) "},{"location":"modules/core/base/components/rendering/i-visual-scene.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/components/rendering/i-visual-scene.component.ts/#ivisualscenecomponent-interface","title":"IVisualSceneComponent (interface)","text":"Signature
export interface IVisualSceneComponent<D, R> extends IComponent {\n readonly factory: any // type defined in sub-interfaces\n\n readonly debugPhysicsDrawerClass?: { new (): IDebugPhysicsDrawer<D, R> }\n\n init(): Promise<void>\n}\n
"},{"location":"modules/core/base/data-structures/","title":"Modules","text":"Directory table of contents core/base/data-structures/graph.ts "},{"location":"modules/core/base/data-structures/graph.ts/","title":"core/base/data-structures/graph.ts","text":""},{"location":"modules/core/base/data-structures/graph.ts/#graph-overview","title":"graph overviewTable of contents","text":" utils Graph (class) fromArray (static method) fromSquareGrid (static method) addAdjacent (method) removeAdjacent (method) addEdge (method) removeEdge (method) walkRead (method) walkReadPreserveDepth (method) nodes (method) data (property) "},{"location":"modules/core/base/data-structures/graph.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/data-structures/graph.ts/#graph-class","title":"Graph (class)","text":"Signature
export declare class Graph<T> {\n constructor(data: T)\n}\n
"},{"location":"modules/core/base/data-structures/graph.ts/#fromarray-static-method","title":"fromArray (static method)","text":"Creates a new Graph instance from an array of elements, where each element in the array is a node in the graph. The first element of the array is used as the root node of the graph.
Signature
static fromArray<T>(array: T[], closed: boolean = false): Graph<T>\n
"},{"location":"modules/core/base/data-structures/graph.ts/#fromsquaregrid-static-method","title":"fromSquareGrid (static method)","text":"Creates a new Graph instance from a two-dimensional square grid of elements, where each element in the grid is a node in the graph. The top-left element of the grid is used as the root node of the graph. The nodes in the graph are created in the same order as the elements in the grid, from left to right and then from top to bottom.
Signature
static fromSquareGrid<T>(grid: T[][]): Graph<T>\n
"},{"location":"modules/core/base/data-structures/graph.ts/#addadjacent-method","title":"addAdjacent (method)","text":"Signature
addAdjacent(node: Graph<T>): boolean\n
"},{"location":"modules/core/base/data-structures/graph.ts/#removeadjacent-method","title":"removeAdjacent (method)","text":"Signature
removeAdjacent(node: Graph<T>): boolean\n
"},{"location":"modules/core/base/data-structures/graph.ts/#addedge-method","title":"addEdge (method)","text":"Create an edge between two nodes
Signature
addEdge(source: Graph<T>, destination: Graph<T>): boolean\n
"},{"location":"modules/core/base/data-structures/graph.ts/#removeedge-method","title":"removeEdge (method)","text":"Remove an edge between two nodes
Signature
removeEdge(source: Graph<T>, destination: Graph<T>): boolean\n
"},{"location":"modules/core/base/data-structures/graph.ts/#walkread-method","title":"walkRead (method)","text":"Signature
walkRead(depth: number): Set<Graph<T>>\n
"},{"location":"modules/core/base/data-structures/graph.ts/#walkreadpreservedepth-method","title":"walkReadPreserveDepth (method)","text":"Signature
walkReadPreserveDepth(depth: number): Set<Graph<T>>[]\n
"},{"location":"modules/core/base/data-structures/graph.ts/#nodes-method","title":"nodes (method)","text":"Signature
nodes(): Graph<T>[]\n
"},{"location":"modules/core/base/data-structures/graph.ts/#data-property","title":"data (property)","text":"Signature
data: T\n
"},{"location":"modules/core/base/entities/","title":"Modules","text":"Directory table of contents core/base/entities/controllers core/base/entities/i-entity.ts core/base/entities/i-renderable.entity.ts core/base/entities/i-renderer.entity.ts "},{"location":"modules/core/base/entities/i-entity.ts/","title":"core/base/entities/i-entity.ts","text":""},{"location":"modules/core/base/entities/i-entity.ts/#i-entity-overview","title":"i-entity overviewTable of contents","text":" utils IEntity (class) addChildren (method) removeChildren (method) addComponents (method) removeComponents (method) onSpawned (method) onRemoved (method) dispose (method) tick$ (property) tickOrder (property) _world (property) _name (property) _active (property) parent (property) _onSpawned$ (property) _onRemoved$ (property) "},{"location":"modules/core/base/entities/i-entity.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/entities/i-entity.ts/#ientity-class","title":"IEntity (class)","text":"Signature
export declare class IEntity<D, R, V, P>\n
"},{"location":"modules/core/base/entities/i-entity.ts/#addchildren-method","title":"addChildren (method)","text":"Signature
public addChildren(...entities: IEntity[])\n
"},{"location":"modules/core/base/entities/i-entity.ts/#removechildren-method","title":"removeChildren (method)","text":"Signature
public removeChildren(entities: IEntity[], dispose: boolean = false)\n
"},{"location":"modules/core/base/entities/i-entity.ts/#addcomponents-method","title":"addComponents (method)","text":"Signature
public addComponents(...components: IWorldComponent<D, R, V, P>[])\n
"},{"location":"modules/core/base/entities/i-entity.ts/#removecomponents-method","title":"removeComponents (method)","text":"Signature
public removeComponents(components: IWorldComponent<D, R, V, P>[], dispose: boolean = false)\n
"},{"location":"modules/core/base/entities/i-entity.ts/#onspawned-method","title":"onSpawned (method)","text":"Signature
public onSpawned(world: GgWorld<D, R, V, P>)\n
"},{"location":"modules/core/base/entities/i-entity.ts/#onremoved-method","title":"onRemoved (method)","text":"Signature
public onRemoved()\n
"},{"location":"modules/core/base/entities/i-entity.ts/#dispose-method","title":"dispose (method)","text":"Signature
public dispose(): void\n
"},{"location":"modules/core/base/entities/i-entity.ts/#tick-property","title":"tick$ (property)","text":"will receive [elapsed time, delta] of each world clock tick
Signature
readonly tick$: any\n
"},{"location":"modules/core/base/entities/i-entity.ts/#tickorder-property","title":"tickOrder (property)","text":"the priority of ticker: the less value, the earlier tick will be run.
Signature
readonly tickOrder: number\n
"},{"location":"modules/core/base/entities/i-entity.ts/#_world-property","title":"_world (property)","text":"a world reference, where this entity was added to
Signature
_world: GgWorld<D, R, V, P> | null\n
"},{"location":"modules/core/base/entities/i-entity.ts/#_name-property","title":"_name (property)","text":"Signature
_name: string\n
"},{"location":"modules/core/base/entities/i-entity.ts/#_active-property","title":"_active (property)","text":"The flag whether entity should listen to ticks. If set to false, ticks will not be propagated to this entity
Signature
_active: boolean\n
"},{"location":"modules/core/base/entities/i-entity.ts/#parent-property","title":"parent (property)","text":"Signature
parent: IEntity<any, any, IVisualSceneComponent<any, any>, IPhysicsWorldComponent<any, any>> | null\n
"},{"location":"modules/core/base/entities/i-entity.ts/#_onspawned-property","title":"_onSpawned$ (property)","text":"Signature
_onSpawned$: any\n
"},{"location":"modules/core/base/entities/i-entity.ts/#_onremoved-property","title":"_onRemoved$ (property)","text":"Signature
_onRemoved$: any\n
"},{"location":"modules/core/base/entities/i-renderable.entity.ts/","title":"core/base/entities/i-renderable.entity.ts","text":""},{"location":"modules/core/base/entities/i-renderable.entity.ts/#i-renderableentity-overview","title":"i-renderable.entity overviewTable of contents","text":" utils IRenderableEntity (class) updateVisibility (method) addChildren (method) removeChildren (method) "},{"location":"modules/core/base/entities/i-renderable.entity.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/entities/i-renderable.entity.ts/#irenderableentity-class","title":"IRenderableEntity (class)","text":"Signature
export declare class IRenderableEntity<D, R, V, P>\n
"},{"location":"modules/core/base/entities/i-renderable.entity.ts/#updatevisibility-method","title":"updateVisibility (method)","text":"Signature
public updateVisibility(): void\n
"},{"location":"modules/core/base/entities/i-renderable.entity.ts/#addchildren-method","title":"addChildren (method)","text":"Signature
addChildren(...entities: IEntity[])\n
"},{"location":"modules/core/base/entities/i-renderable.entity.ts/#removechildren-method","title":"removeChildren (method)","text":"Signature
removeChildren(entities: IEntity[], dispose: boolean = false)\n
"},{"location":"modules/core/base/entities/i-renderer.entity.ts/","title":"core/base/entities/i-renderer.entity.ts","text":""},{"location":"modules/core/base/entities/i-renderer.entity.ts/#i-rendererentity-overview","title":"i-renderer.entity overviewTable of contents","text":" utils IRendererEntity (class) onSpawned (method) dispose (method) tickOrder (property) _rendererSize$ (property) "},{"location":"modules/core/base/entities/i-renderer.entity.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/entities/i-renderer.entity.ts/#irendererentity-class","title":"IRendererEntity (class)","text":"Represents a base class for a renderer entity.
Signature
export declare class IRendererEntity<D, R, VS, RC> {\n constructor(public readonly renderer: RC)\n}\n
"},{"location":"modules/core/base/entities/i-renderer.entity.ts/#onspawned-method","title":"onSpawned (method)","text":"Signature
onSpawned(world: GgWorld<D, R, VS, any>)\n
"},{"location":"modules/core/base/entities/i-renderer.entity.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose()\n
"},{"location":"modules/core/base/entities/i-renderer.entity.ts/#tickorder-property","title":"tickOrder (property)","text":"Signature
readonly tickOrder: TickOrder.RENDERING\n
"},{"location":"modules/core/base/entities/i-renderer.entity.ts/#_renderersize-property","title":"_rendererSize$ (property)","text":"Represents the current size of the renderer.
Signature
_rendererSize$: any\n
"},{"location":"modules/core/base/entities/controllers/","title":"Modules","text":"Directory table of contents core/base/entities/controllers/animation-mixer.ts core/base/entities/controllers/inline-controller.ts "},{"location":"modules/core/base/entities/controllers/animation-mixer.ts/","title":"core/base/entities/controllers/animation-mixer.ts","text":""},{"location":"modules/core/base/entities/controllers/animation-mixer.ts/#animation-mixer-overview","title":"animation-mixer overviewTable of contents","text":" utils AnimationFunction (type alias) AnimationMixer (class) transitFromStaticState (method) transitAnimationFunction (method) onSpawned (method) dispose (method) tickOrder (property) _value$ (property) "},{"location":"modules/core/base/entities/controllers/animation-mixer.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/entities/controllers/animation-mixer.ts/#animationfunction-type-alias","title":"AnimationFunction (type alias)","text":"Signature
export type AnimationFunction<T> = (elapsed: number, delta: number) => T\n
"},{"location":"modules/core/base/entities/controllers/animation-mixer.ts/#animationmixer-class","title":"AnimationMixer (class)","text":"A class that performs property animations for a specific type T
by using provided animation function. Supports smooth transition between animation function by interpolating between values over time. The current value of the animation can be subscribed to using the subscribeToValue
property. The animation function can be changed with transitAnimationFunction
or transitFromStaticState
.
Signature
export declare class AnimationMixer<T> {\n constructor(\n protected _animationFunction: AnimationFunction<T>,\n protected _lerp: (a: T, b: T, t: number) => T = (a, b, t) => b\n )\n}\n
"},{"location":"modules/core/base/entities/controllers/animation-mixer.ts/#transitfromstaticstate-method","title":"transitFromStaticState (method)","text":"Set output to static value and smoothly transit to new control function
Signature
transitFromStaticState(\n state: T,\n newFunc: AnimationFunction<T>,\n transitionDuration: number,\n easing: (t: number) => number = x => x,\n )\n
"},{"location":"modules/core/base/entities/controllers/animation-mixer.ts/#transitanimationfunction-method","title":"transitAnimationFunction (method)","text":"Smoothly transit to new control function
Signature
transitAnimationFunction(\n newFunc: AnimationFunction<T>,\n transitionDuration: number,\n easing: (t: number) => number = x => x,\n )\n
"},{"location":"modules/core/base/entities/controllers/animation-mixer.ts/#onspawned-method","title":"onSpawned (method)","text":"Signature
onSpawned(world: GgWorld<any, any>)\n
"},{"location":"modules/core/base/entities/controllers/animation-mixer.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose(): void\n
"},{"location":"modules/core/base/entities/controllers/animation-mixer.ts/#tickorder-property","title":"tickOrder (property)","text":"Signature
readonly tickOrder: number\n
"},{"location":"modules/core/base/entities/controllers/animation-mixer.ts/#_value-property","title":"_value$ (property)","text":"A subject that emits the current value of the animation on every tick.
Signature
readonly _value$: any\n
"},{"location":"modules/core/base/entities/controllers/inline-controller.ts/","title":"core/base/entities/controllers/inline-controller.ts","text":""},{"location":"modules/core/base/entities/controllers/inline-controller.ts/#inline-controller-overview","title":"inline-controller overviewTable of contents","text":" utils createInlineTickController "},{"location":"modules/core/base/entities/controllers/inline-controller.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/entities/controllers/inline-controller.ts/#createinlinetickcontroller","title":"createInlineTickController","text":"Signature
export declare function createInlineTickController(\n world: GgWorld<any, any>,\n tickOrder: number = TickOrder.CONTROLLERS\n): Observable<[number, number]>\n
"},{"location":"modules/core/base/inputs/","title":"Modules","text":"Directory table of contents core/base/inputs/direction.keyboard.input.ts core/base/inputs/i-input.ts core/base/inputs/keyboard.input.ts core/base/inputs/mouse.input.ts "},{"location":"modules/core/base/inputs/direction.keyboard.input.ts/","title":"core/base/inputs/direction.keyboard.input.ts","text":""},{"location":"modules/core/base/inputs/direction.keyboard.input.ts/#directionkeyboardinput-overview","title":"direction.keyboard.input overviewTable of contents","text":" utils DirectionKeyboardInput (class) DirectionKeyboardKeymap (type alias) DirectionKeyboardOutput (type alias) "},{"location":"modules/core/base/inputs/direction.keyboard.input.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/inputs/direction.keyboard.input.ts/#directionkeyboardinput-class","title":"DirectionKeyboardInput (class)","text":"An input class, responsible for handling direction keys and providing simple current direction observable. Supports two the most popular keyboard layouts: WASD and arrows.
Signature
export declare class DirectionKeyboardInput {\n constructor(protected readonly keyboard: KeyboardInput, protected readonly keymap: DirectionKeyboardKeymap)\n}\n
"},{"location":"modules/core/base/inputs/direction.keyboard.input.ts/#startinternal-method","title":"startInternal (method)","text":"Called when the input handling should start.
Signature
protected startInternal()\n
"},{"location":"modules/core/base/inputs/direction.keyboard.input.ts/#directionkeyboardkeymap-type-alias","title":"DirectionKeyboardKeymap (type alias)","text":"The type representing desired keymap for DirectionKeyboardInput
Signature
export type DirectionKeyboardKeymap = 'arrows' | 'wasd' | 'wasd+arrows'\n
"},{"location":"modules/core/base/inputs/direction.keyboard.input.ts/#directionkeyboardoutput-type-alias","title":"DirectionKeyboardOutput (type alias)","text":"The type of DirectionKeyboardInput output value
Signature
export type DirectionKeyboardOutput = { upDown?: boolean; leftRight?: boolean }\n
"},{"location":"modules/core/base/inputs/i-input.ts/","title":"core/base/inputs/i-input.ts","text":""},{"location":"modules/core/base/inputs/i-input.ts/#i-input-overview","title":"i-input overviewTable of contents","text":" utils IInput (class) start (method) stop (method) startInternal (method) stopInternal (method) stop$ (property) "},{"location":"modules/core/base/inputs/i-input.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/inputs/i-input.ts/#iinput-class","title":"IInput (class)","text":"An abstract class that provides basic implementation for Input class. Input is an entity for handling input from user, such as mouse movements, key presses etc. Inputs are not bound to World-s and working independently by design.
TStartParams - A type representing an array of input arguments for the start method. Items are recommended to be named.
TStopParams - A type representing an array of input arguments for the stop method. Items are recommended to be named.
Signature
export declare class IInput<TStartParams, TStopParams>\n
"},{"location":"modules/core/base/inputs/i-input.ts/#start-method","title":"start (method)","text":"A method that starts the input. Do not override it
Signature
start(...args: TStartParams): void\n
"},{"location":"modules/core/base/inputs/i-input.ts/#stop-method","title":"stop (method)","text":"A method that stops the input. Do not override it
Signature
stop(...args: TStopParams): void\n
"},{"location":"modules/core/base/inputs/i-input.ts/#startinternal-method","title":"startInternal (method)","text":"An abstract method that starts the input.
Signature
protected abstract startInternal(...args: TStartParams): void;\n
"},{"location":"modules/core/base/inputs/i-input.ts/#stopinternal-method","title":"stopInternal (method)","text":"A method that stops the input.
Signature
protected stopInternal(...args: TStopParams): void\n
"},{"location":"modules/core/base/inputs/i-input.ts/#stop-property","title":"stop$ (property)","text":"A protected subject that emits a void value when the process is stopped. Subclasses, when subscribing to something using rxjs, have to add pipe takeUntil(this.stop$), so everything will be unsubscribed when stopping input
Signature
readonly stop$: any\n
"},{"location":"modules/core/base/inputs/keyboard.input.ts/","title":"core/base/inputs/keyboard.input.ts","text":""},{"location":"modules/core/base/inputs/keyboard.input.ts/#keyboardinput-overview","title":"keyboard.input overviewTable of contents","text":" utils KeyboardInput (class) startInternal (method) stopInternal (method) bind (method) bindMany (method) emulateKeyDown (method) emulateKeyUp (method) emulateKeyPress (method) handleKeys (method) onPointerLockChange (method) resetAllKeys (method) skipKeyDownsOnExternalFocus (property) externalFocusBlacklist (property) "},{"location":"modules/core/base/inputs/keyboard.input.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/inputs/keyboard.input.ts/#keyboardinput-class","title":"KeyboardInput (class)","text":"A main keyboard input: it does not have own key bindings, but provides an API to bind keys. It is responsible for listening key up/down events (when running!) and emit the events to subscribers. Every World entity has its own dedicated instance of Keyboard input, which is running only when the world is running
Signature
export declare class KeyboardInput {\n constructor()\n}\n
"},{"location":"modules/core/base/inputs/keyboard.input.ts/#startinternal-method","title":"startInternal (method)","text":"Signature
protected startInternal()\n
"},{"location":"modules/core/base/inputs/keyboard.input.ts/#stopinternal-method","title":"stopInternal (method)","text":"Signature
protected stopInternal()\n
"},{"location":"modules/core/base/inputs/keyboard.input.ts/#bind-method","title":"bind (method)","text":"Creates an observable that emits a boolean whenever a key with the given code is pressed or released
Signature
bind(code: string): Observable<boolean>\n
"},{"location":"modules/core/base/inputs/keyboard.input.ts/#bindmany-method","title":"bindMany (method)","text":"Creates an observable that emits a boolean indicating whether any of the keys with the given codes are pressed or released. Should be used when you have more than one keys, responsible for the same action.
Signature
bindMany(...codes: string[]): Observable<boolean>\n
"},{"location":"modules/core/base/inputs/keyboard.input.ts/#emulatekeydown-method","title":"emulateKeyDown (method)","text":"Emulates a key down event for the given key code
Signature
emulateKeyDown(code: string): void\n
"},{"location":"modules/core/base/inputs/keyboard.input.ts/#emulatekeyup-method","title":"emulateKeyUp (method)","text":"Emulates a key up event for the given key code
Signature
emulateKeyUp(code: string): void\n
"},{"location":"modules/core/base/inputs/keyboard.input.ts/#emulatekeypress-method","title":"emulateKeyPress (method)","text":"Emulates a key press event (down and up) for the given key code
Signature
emulateKeyPress(code: string): void\n
"},{"location":"modules/core/base/inputs/keyboard.input.ts/#handlekeys-method","title":"handleKeys (method)","text":"Signature
private handleKeys(e: KeyboardEvent)\n
"},{"location":"modules/core/base/inputs/keyboard.input.ts/#onpointerlockchange-method","title":"onPointerLockChange (method)","text":"Signature
private onPointerLockChange()\n
"},{"location":"modules/core/base/inputs/keyboard.input.ts/#resetallkeys-method","title":"resetAllKeys (method)","text":"Signature
public resetAllKeys()\n
"},{"location":"modules/core/base/inputs/keyboard.input.ts/#skipkeydownsonexternalfocus-property","title":"skipKeyDownsOnExternalFocus (property)","text":"Flag which disables handling key downs, when document has some \"typeable\" element focused
Signature
skipKeyDownsOnExternalFocus: boolean\n
"},{"location":"modules/core/base/inputs/keyboard.input.ts/#externalfocusblacklist-property","title":"externalFocusBlacklist (property)","text":"Which element types should filter key downs when focused
Signature
externalFocusBlacklist: (new () => HTMLElement)[]\n
"},{"location":"modules/core/base/inputs/mouse.input.ts/","title":"core/base/inputs/mouse.input.ts","text":""},{"location":"modules/core/base/inputs/mouse.input.ts/#mouseinput-overview","title":"mouse.input overviewTable of contents","text":" utils MouseInput (class) isTouchDevice (static method) startInternal (method) stopInternal (method) canvasClickListener (method) MouseInputOptions (type alias) "},{"location":"modules/core/base/inputs/mouse.input.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/inputs/mouse.input.ts/#mouseinput-class","title":"MouseInput (class)","text":"A class representing mouse input.
Signature
export declare class MouseInput {\n constructor(options: Partial<MouseInputOptions> = {})\n}\n
"},{"location":"modules/core/base/inputs/mouse.input.ts/#istouchdevice-static-method","title":"isTouchDevice (static method)","text":"Signature
static isTouchDevice(): boolean\n
"},{"location":"modules/core/base/inputs/mouse.input.ts/#startinternal-method","title":"startInternal (method)","text":"Signature
protected startInternal()\n
"},{"location":"modules/core/base/inputs/mouse.input.ts/#stopinternal-method","title":"stopInternal (method)","text":"Stop listening for mouse movement events.
Signature
protected stopInternal(unlockPointer: boolean = true)\n
"},{"location":"modules/core/base/inputs/mouse.input.ts/#canvasclicklistener-method","title":"canvasClickListener (method)","text":"Request pointer lock on the canvas element.
Signature
private canvasClickListener(): void\n
"},{"location":"modules/core/base/inputs/mouse.input.ts/#mouseinputoptions-type-alias","title":"MouseInputOptions (type alias)","text":"Options for a MouseInput.
canvas?: Canvas element. If not provided, mouse events will be listened on the whole window pointerLock: The flag to enable pointer lock when clicking on canvas
Signature
export type MouseInputOptions = {\n canvas?: HTMLCanvasElement\n pointerLock: boolean\n}\n
"},{"location":"modules/core/base/interfaces/","title":"Modules","text":"Directory table of contents core/base/interfaces/i-debug-physics-drawer.ts core/base/interfaces/i-positionable.ts "},{"location":"modules/core/base/interfaces/i-debug-physics-drawer.ts/","title":"core/base/interfaces/i-debug-physics-drawer.ts","text":""},{"location":"modules/core/base/interfaces/i-debug-physics-drawer.ts/#i-debug-physics-drawer-overview","title":"i-debug-physics-drawer overviewTable of contents","text":" utils IDebugPhysicsDrawer (interface) "},{"location":"modules/core/base/interfaces/i-debug-physics-drawer.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/interfaces/i-debug-physics-drawer.ts/#idebugphysicsdrawer-interface","title":"IDebugPhysicsDrawer (interface)","text":"Signature
export interface IDebugPhysicsDrawer<D, R, VS extends IVisualSceneComponent<D, R> = IVisualSceneComponent<D, R>>\n extends IDisplayObjectComponent<D, R, VS> {\n drawContactPoint(point: D, normal: D, color?: Point3): void\n\n drawLine(from: D, to: D, color?: Point3): void\n\n update(): void\n}\n
"},{"location":"modules/core/base/interfaces/i-positionable.ts/","title":"core/base/interfaces/i-positionable.ts","text":""},{"location":"modules/core/base/interfaces/i-positionable.ts/#i-positionable-overview","title":"i-positionable overviewTable of contents","text":" utils IPositionable (interface) "},{"location":"modules/core/base/interfaces/i-positionable.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/interfaces/i-positionable.ts/#ipositionable-interface","title":"IPositionable (interface)","text":"Signature
export interface IPositionable<D, R> {\n position: D\n rotation: R\n}\n
"},{"location":"modules/core/base/math/","title":"Modules","text":"Directory table of contents core/base/math/box.ts core/base/math/matrix4.ts core/base/math/numbers.ts core/base/math/point2.ts core/base/math/point3.ts core/base/math/quaternion.ts core/base/math/splines.ts "},{"location":"modules/core/base/math/box.ts/","title":"core/base/math/box.ts","text":""},{"location":"modules/core/base/math/box.ts/#box-overview","title":"box overviewTable of contents","text":" utils Box (class) clone (static method) expandByPoint (static method) "},{"location":"modules/core/base/math/box.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/math/box.ts/#box-class","title":"Box (class)","text":"Signature
export declare class Box\n
"},{"location":"modules/core/base/math/box.ts/#clone-static-method","title":"clone (static method)","text":"Signature
static clone<T>(box: GgBox<T>): GgBox<T>\n
"},{"location":"modules/core/base/math/box.ts/#expandbypoint-static-method","title":"expandByPoint (static method)","text":"Signature
static expandByPoint<T>(box: GgBox<T>, point: T): GgBox<T>\n
"},{"location":"modules/core/base/math/matrix4.ts/","title":"core/base/math/matrix4.ts","text":""},{"location":"modules/core/base/math/matrix4.ts/#matrix4-overview","title":"matrix4 overviewTable of contents","text":""},{"location":"modules/core/base/math/matrix4.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/math/matrix4.ts/#mtrx4-class","title":"Mtrx4 (class)","text":"Signature
export declare class Mtrx4\n
"},{"location":"modules/core/base/math/matrix4.ts/#lookat-static-method","title":"lookAt (static method)","text":"creates a rotation matrix for object, so it will look at some point in space
Signature
static lookAt(eye: Point3, target: Point3, up: Point3): number[]\n
"},{"location":"modules/core/base/math/numbers.ts/","title":"core/base/math/numbers.ts","text":""},{"location":"modules/core/base/math/numbers.ts/#numbers-overview","title":"numbers overviewTable of contents","text":" utils averageAngle lerpNumber "},{"location":"modules/core/base/math/numbers.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/math/numbers.ts/#averageangle","title":"averageAngle","text":"Signature
export declare const averageAngle: (angleA: number, angleB: number, factor?: number) => number\n
"},{"location":"modules/core/base/math/numbers.ts/#lerpnumber","title":"lerpNumber","text":"Signature
export declare const lerpNumber: (a: number, b: number, t: number) => number\n
"},{"location":"modules/core/base/math/point2.ts/","title":"core/base/math/point2.ts","text":""},{"location":"modules/core/base/math/point2.ts/#point2-overview","title":"point2 overviewTable of contents","text":" utils Pnt2 (class) clone (static method) add (static method) sub (static method) avg (static method) lenSq (static method) len (static method) dist (static method) norm (static method) scalarMult (static method) lerp (static method) angle (static method) "},{"location":"modules/core/base/math/point2.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/math/point2.ts/#pnt2-class","title":"Pnt2 (class)","text":"Signature
export declare class Pnt2\n
"},{"location":"modules/core/base/math/point2.ts/#clone-static-method","title":"clone (static method)","text":"clone point
Signature
static clone(p: Point2): Point2\n
"},{"location":"modules/core/base/math/point2.ts/#add-static-method","title":"add (static method)","text":"add point b to point a
Signature
static add(a: Point2, b: Point2): Point2\n
"},{"location":"modules/core/base/math/point2.ts/#sub-static-method","title":"sub (static method)","text":"subtract point b from point a
Signature
static sub(a: Point2, b: Point2): Point2\n
"},{"location":"modules/core/base/math/point2.ts/#avg-static-method","title":"avg (static method)","text":"average point between a and b
Signature
static avg(a: Point2, b: Point2): Point2\n
"},{"location":"modules/core/base/math/point2.ts/#lensq-static-method","title":"lenSq (static method)","text":"calculate vector length (squared)
Signature
static lenSq(v: Point2)\n
"},{"location":"modules/core/base/math/point2.ts/#len-static-method","title":"len (static method)","text":"calculate vector length
Signature
static len(v: Point2)\n
"},{"location":"modules/core/base/math/point2.ts/#dist-static-method","title":"dist (static method)","text":"distance between points
Signature
static dist(a: Point2, b: Point2): number\n
"},{"location":"modules/core/base/math/point2.ts/#norm-static-method","title":"norm (static method)","text":"normalize
Signature
static norm(p: Point2): Point2\n
"},{"location":"modules/core/base/math/point2.ts/#scalarmult-static-method","title":"scalarMult (static method)","text":"scalar multiplication
Signature
static scalarMult(p: Point2, m: number): Point2\n
"},{"location":"modules/core/base/math/point2.ts/#lerp-static-method","title":"lerp (static method)","text":"linear interpolation
Signature
static lerp(a: Point2, b: Point2, t: number): Point2\n
"},{"location":"modules/core/base/math/point2.ts/#angle-static-method","title":"angle (static method)","text":"angle between vectors in radians
Signature
static angle(a: Point2, b: Point2): number\n
"},{"location":"modules/core/base/math/point3.ts/","title":"core/base/math/point3.ts","text":""},{"location":"modules/core/base/math/point3.ts/#point3-overview","title":"point3 overviewTable of contents","text":" utils Pnt3 (class) clone (static method) add (static method) sub (static method) avg (static method) lenSq (static method) len (static method) dist (static method) cross (static method) norm (static method) scalarMult (static method) lerp (static method) angle (static method) rot (static method) rotAround (static method) toSpherical (static method) fromSpherical (static method) "},{"location":"modules/core/base/math/point3.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/math/point3.ts/#pnt3-class","title":"Pnt3 (class)","text":"Signature
export declare class Pnt3\n
"},{"location":"modules/core/base/math/point3.ts/#clone-static-method","title":"clone (static method)","text":"clone point
Signature
static clone(p: Point3): Point3\n
"},{"location":"modules/core/base/math/point3.ts/#add-static-method","title":"add (static method)","text":"add point b to point a
Signature
static add(a: Point3, b: Point3): Point3\n
"},{"location":"modules/core/base/math/point3.ts/#sub-static-method","title":"sub (static method)","text":"subtract point b from point a
Signature
static sub(a: Point3, b: Point3): Point3\n
"},{"location":"modules/core/base/math/point3.ts/#avg-static-method","title":"avg (static method)","text":"average point between a and b
Signature
static avg(a: Point3, b: Point3): Point3\n
"},{"location":"modules/core/base/math/point3.ts/#lensq-static-method","title":"lenSq (static method)","text":"calculate vector length (squared)
Signature
static lenSq(v: Point3)\n
"},{"location":"modules/core/base/math/point3.ts/#len-static-method","title":"len (static method)","text":"calculate vector length
Signature
static len(v: Point3)\n
"},{"location":"modules/core/base/math/point3.ts/#dist-static-method","title":"dist (static method)","text":"distance between points
Signature
static dist(a: Point3, b: Point3): number\n
"},{"location":"modules/core/base/math/point3.ts/#cross-static-method","title":"cross (static method)","text":"cross vectors
Signature
static cross(a: Point3, b: Point3): Point3\n
"},{"location":"modules/core/base/math/point3.ts/#norm-static-method","title":"norm (static method)","text":"normalize
Signature
static norm(p: Point3): Point3\n
"},{"location":"modules/core/base/math/point3.ts/#scalarmult-static-method","title":"scalarMult (static method)","text":"scalar multiplication
Signature
static scalarMult(p: Point3, m: number): Point3\n
"},{"location":"modules/core/base/math/point3.ts/#lerp-static-method","title":"lerp (static method)","text":"linear interpolation
Signature
static lerp(a: Point3, b: Point3, t: number): Point3\n
"},{"location":"modules/core/base/math/point3.ts/#angle-static-method","title":"angle (static method)","text":"angle between vectors in radians
Signature
static angle(a: Point3, b: Point3): number\n
"},{"location":"modules/core/base/math/point3.ts/#rot-static-method","title":"rot (static method)","text":"rotate point a with quaternion q
Signature
static rot(p: Point3, q: Point4): Point3\n
"},{"location":"modules/core/base/math/point3.ts/#rotaround-static-method","title":"rotAround (static method)","text":"rotate point around axis a (normalized vector)
Signature
static rotAround(p: Point3, axis: Point3, angle: number): Point3\n
"},{"location":"modules/core/base/math/point3.ts/#tospherical-static-method","title":"toSpherical (static method)","text":"Converts a cartesian 3D point to a spherical coordinate system, where theta is azimuth and phi is inclination, theta == 0 is faced towards X axis direction, and phi == 0 is faced towards zenith (Z axis)
Signature
static toSpherical(p: Point3): Spherical\n
"},{"location":"modules/core/base/math/point3.ts/#fromspherical-static-method","title":"fromSpherical (static method)","text":"Converts a spherical coordinate system to a cartesian 3D point. Used spherical coordinates, where theta is azimuth and phi is inclination, theta == 0 is faced towards X axis direction, and phi == 0 is faced towards zenith (Z axis)
Signature
static fromSpherical(s: Spherical): Point3\n
"},{"location":"modules/core/base/math/quaternion.ts/","title":"core/base/math/quaternion.ts","text":""},{"location":"modules/core/base/math/quaternion.ts/#quaternion-overview","title":"quaternion overviewTable of contents","text":" utils Qtrn (class) clone (static method) add (static method) mult (static method) combineRotations (static method) lerp (static method) slerp (static method) fromAngle (static method) fromMatrix4 (static method) fromEuler (static method) toEuler (static method) lookAt (static method) rotAround (static method) "},{"location":"modules/core/base/math/quaternion.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/math/quaternion.ts/#qtrn-class","title":"Qtrn (class)","text":"Helper class with static functions, containing util functions, related to Quaternion (represented as Point4 type). In terms of rotation, a quaternion is a mathematical representation of an orientation or rotation in 3D space. It consists of a scalar component and a vector component, and can be written as q = w + xi + yj + zk, where w is the scalar component, and i, j, and k are the vector components. The scalar component, w, represents the amount of rotation, and the vector component, (x, y, z), represents the axis of rotation. The length of the vector component represents the amount of rotation around the axis. Quaternions are often used in 3D computer graphics and animation because they can be used to interpolate between two rotations, and they can avoid some of the issues with using Euler angles (such as gimbal lock).
Signature
export declare class Qtrn\n
"},{"location":"modules/core/base/math/quaternion.ts/#clone-static-method","title":"clone (static method)","text":"Returns a new quaternion instance with the same values as the given quaternion object.
Signature
static clone(q: Point4): Point4\n
"},{"location":"modules/core/base/math/quaternion.ts/#add-static-method","title":"add (static method)","text":"Returns the sum of two Point4 objects.
Signature
static add(a: Point4, b: Point4): Point4\n
"},{"location":"modules/core/base/math/quaternion.ts/#mult-static-method","title":"mult (static method)","text":"Returns the result of multiplying two Point4 objects. This can be used for combining rotations
Signature
static mult(a: Point4, b: Point4): Point4\n
"},{"location":"modules/core/base/math/quaternion.ts/#combinerotations-static-method","title":"combineRotations (static method)","text":"Combines an arbitrary number of quaternions by multiplying them together in order.
Signature
static combineRotations(...quaternions: Point4[]): Point4\n
"},{"location":"modules/core/base/math/quaternion.ts/#lerp-static-method","title":"lerp (static method)","text":"Performs a linear interpolation between two Point4 objects.
Signature
static lerp(a: Point4, b: Point4, t: number): Point4\n
"},{"location":"modules/core/base/math/quaternion.ts/#slerp-static-method","title":"slerp (static method)","text":"Performs a spherical linear interpolation between two Point4 objects.
Signature
static slerp(a: Point4, b: Point4, t: number): Point4\n
"},{"location":"modules/core/base/math/quaternion.ts/#fromangle-static-method","title":"fromAngle (static method)","text":"Converts an angle and an axis of rotation into a quaternion
Signature
static fromAngle(axis: Point3, angle: number)\n
"},{"location":"modules/core/base/math/quaternion.ts/#frommatrix4-static-method","title":"fromMatrix4 (static method)","text":"Converts a 4x4 matrix representing a rotation into a quaternion
Signature
static fromMatrix4(m: number[]): Point4\n
"},{"location":"modules/core/base/math/quaternion.ts/#fromeuler-static-method","title":"fromEuler (static method)","text":"Creates a quaternion from euler
Signature
static fromEuler(e: Point3): Point4\n
"},{"location":"modules/core/base/math/quaternion.ts/#toeuler-static-method","title":"toEuler (static method)","text":"Converts a quaternion to euler
Signature
static toEuler(q: Point4): Point3\n
"},{"location":"modules/core/base/math/quaternion.ts/#lookat-static-method","title":"lookAt (static method)","text":"Returns a quaternion that represents the rotation required to align an object to face towards a target point.
Signature
static lookAt(eye: Point3, target: Point3, up: Point3 = Pnt3.Z): Point4\n
"},{"location":"modules/core/base/math/quaternion.ts/#rotaround-static-method","title":"rotAround (static method)","text":"Returns a quaternion that represents the input quaternion, rotated around provided axis vector by provided angle. Assumes that axis vector is already normalized
Signature
static rotAround(q: Point4, axis: Point3, angle: number): Point4\n
"},{"location":"modules/core/base/math/splines.ts/","title":"core/base/math/splines.ts","text":""},{"location":"modules/core/base/math/splines.ts/#splines-overview","title":"splines overviewTable of contents","text":" utils cubicSplineInterpolation "},{"location":"modules/core/base/math/splines.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/math/splines.ts/#cubicsplineinterpolation","title":"cubicSplineInterpolation","text":"Signature
export declare const cubicSplineInterpolation: (\n x: number,\n x0: number,\n x1: number,\n y0: number,\n y1: number,\n m0: number,\n m1: number\n) => number\n
"},{"location":"modules/core/base/models/","title":"Modules","text":"Directory table of contents core/base/models/axis-directions.ts core/base/models/body-options.ts core/base/models/geometry-nodes.ts core/base/models/points.ts "},{"location":"modules/core/base/models/axis-directions.ts/","title":"core/base/models/axis-directions.ts","text":""},{"location":"modules/core/base/models/axis-directions.ts/#axis-directions-overview","title":"axis-directions overviewTable of contents","text":" utils AxisDirection2 (type alias) AxisDirection3 (type alias) AxisDirection4 (type alias) "},{"location":"modules/core/base/models/axis-directions.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/models/axis-directions.ts/#axisdirection2-type-alias","title":"AxisDirection2 (type alias)","text":"Signature
export type AxisDirection2 = 'x' | 'y' | '-x' | '-y'\n
"},{"location":"modules/core/base/models/axis-directions.ts/#axisdirection3-type-alias","title":"AxisDirection3 (type alias)","text":"Signature
export type AxisDirection3 = AxisDirection2 | 'z' | '-z'\n
"},{"location":"modules/core/base/models/axis-directions.ts/#axisdirection4-type-alias","title":"AxisDirection4 (type alias)","text":"Signature
export type AxisDirection4 = AxisDirection3 | 'w' | '-w'\n
"},{"location":"modules/core/base/models/body-options.ts/","title":"core/base/models/body-options.ts","text":""},{"location":"modules/core/base/models/body-options.ts/#body-options-overview","title":"body-options overviewTable of contents","text":" utils BodyOptions (interface) "},{"location":"modules/core/base/models/body-options.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/models/body-options.ts/#bodyoptions-interface","title":"BodyOptions (interface)","text":"Signature
export interface BodyOptions {\n dynamic: boolean\n mass: number\n restitution: number\n friction: number\n}\n
"},{"location":"modules/core/base/models/geometry-nodes.ts/","title":"core/base/models/geometry-nodes.ts","text":""},{"location":"modules/core/base/models/geometry-nodes.ts/#geometry-nodes-overview","title":"geometry-nodes overviewTable of contents","text":" utils GgBox (type alias) GgBox2d (type alias) GgBox3d (type alias) "},{"location":"modules/core/base/models/geometry-nodes.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/models/geometry-nodes.ts/#ggbox-type-alias","title":"GgBox (type alias)","text":"Signature
export type GgBox<T> = { min: T; max: T }\n
"},{"location":"modules/core/base/models/geometry-nodes.ts/#ggbox2d-type-alias","title":"GgBox2d (type alias)","text":"Signature
export type GgBox2d = GgBox<Point2>\n
"},{"location":"modules/core/base/models/geometry-nodes.ts/#ggbox3d-type-alias","title":"GgBox3d (type alias)","text":"Signature
export type GgBox3d = GgBox<Point3>\n
"},{"location":"modules/core/base/models/points.ts/","title":"core/base/models/points.ts","text":""},{"location":"modules/core/base/models/points.ts/#points-overview","title":"points overviewTable of contents","text":" utils MutableSpherical (type alias) Point2 (type alias) Point3 (type alias) Point4 (type alias) Spherical (type alias) "},{"location":"modules/core/base/models/points.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/models/points.ts/#mutablespherical-type-alias","title":"MutableSpherical (type alias)","text":"Signature
export type MutableSpherical = { radius: number; phi: number; theta: number }\n
"},{"location":"modules/core/base/models/points.ts/#point2-type-alias","title":"Point2 (type alias)","text":"Signature
export type Point2 = { readonly x: number; readonly y: number }\n
"},{"location":"modules/core/base/models/points.ts/#point3-type-alias","title":"Point3 (type alias)","text":"Signature
export type Point3 = { readonly x: number; readonly y: number; readonly z: number }\n
"},{"location":"modules/core/base/models/points.ts/#point4-type-alias","title":"Point4 (type alias)","text":"Signature
export type Point4 = { readonly x: number; readonly y: number; readonly z: number; readonly w: number }\n
"},{"location":"modules/core/base/models/points.ts/#spherical-type-alias","title":"Spherical (type alias)","text":"Signature
export type Spherical = { readonly radius: number; readonly phi: number; readonly theta: number }\n
"},{"location":"modules/core/dev/","title":"Modules","text":"Directory table of contents core/dev/gg-console.ui.ts core/dev/gg-debugger.ui.ts core/dev/gg-static.ts core/dev/index.ts "},{"location":"modules/core/dev/gg-console.ui.ts/","title":"core/dev/gg-console.ui.ts","text":""},{"location":"modules/core/dev/gg-console.ui.ts/#gg-consoleui-overview","title":"gg-console.ui overviewTable of contents","text":" utils GgConsoleUI (class) createUI (method) destroyUI (method) onUsePreviousCommand (method) onUseNextCommand (method) onInput (method) stdout (method) setupDragging (method) elements (property) "},{"location":"modules/core/dev/gg-console.ui.ts/#utils","title":"utils","text":""},{"location":"modules/core/dev/gg-console.ui.ts/#ggconsoleui-class","title":"GgConsoleUI (class)","text":"Signature
export declare class GgConsoleUI\n
"},{"location":"modules/core/dev/gg-console.ui.ts/#createui-method","title":"createUI (method)","text":"Signature
public createUI()\n
"},{"location":"modules/core/dev/gg-console.ui.ts/#destroyui-method","title":"destroyUI (method)","text":"Signature
public destroyUI()\n
"},{"location":"modules/core/dev/gg-console.ui.ts/#onusepreviouscommand-method","title":"onUsePreviousCommand (method)","text":"Signature
onUsePreviousCommand()\n
"},{"location":"modules/core/dev/gg-console.ui.ts/#onusenextcommand-method","title":"onUseNextCommand (method)","text":"Signature
onUseNextCommand()\n
"},{"location":"modules/core/dev/gg-console.ui.ts/#oninput-method","title":"onInput (method)","text":"Signature
async onInput()\n
"},{"location":"modules/core/dev/gg-console.ui.ts/#stdout-method","title":"stdout (method)","text":"Signature
private stdout(s: string = ''): void\n
"},{"location":"modules/core/dev/gg-console.ui.ts/#setupdragging-method","title":"setupDragging (method)","text":"Signature
setupDragging()\n
"},{"location":"modules/core/dev/gg-console.ui.ts/#elements-property","title":"elements (property)","text":"Signature
elements: { main: HTMLDivElement; input: HTMLInputElement; output: HTMLDivElement; } | null\n
"},{"location":"modules/core/dev/gg-debugger.ui.ts/","title":"core/dev/gg-debugger.ui.ts","text":""},{"location":"modules/core/dev/gg-debugger.ui.ts/#gg-debuggerui-overview","title":"gg-debugger.ui overviewTable of contents","text":" utils GgDebuggerUI (class) setShowStats (method) setShowDebugControls (method) "},{"location":"modules/core/dev/gg-debugger.ui.ts/#utils","title":"utils","text":""},{"location":"modules/core/dev/gg-debugger.ui.ts/#ggdebuggerui-class","title":"GgDebuggerUI (class)","text":"Signature
export declare class GgDebuggerUI\n
"},{"location":"modules/core/dev/gg-debugger.ui.ts/#setshowstats-method","title":"setShowStats (method)","text":"Signature
public setShowStats(selectedWorld: GgWorld<any, any>, value: boolean)\n
"},{"location":"modules/core/dev/gg-debugger.ui.ts/#setshowdebugcontrols-method","title":"setShowDebugControls (method)","text":"Signature
public setShowDebugControls(selectedWorld: GgWorld<any, any>, value: boolean)\n
"},{"location":"modules/core/dev/gg-static.ts/","title":"core/dev/gg-static.ts","text":""},{"location":"modules/core/dev/gg-static.ts/#gg-static-overview","title":"gg-static overviewTable of contents","text":" utils GgStatic (class) registerConsoleCommand (method) deregisterWorldCommands (method) console (method) runConsoleCommand (method) consoleKeyPressEventListener (property) consoleCommands (property) "},{"location":"modules/core/dev/gg-static.ts/#utils","title":"utils","text":""},{"location":"modules/core/dev/gg-static.ts/#ggstatic-class","title":"GgStatic (class)","text":"Signature
export declare class GgStatic {\n private constructor()\n}\n
"},{"location":"modules/core/dev/gg-static.ts/#registerconsolecommand-method","title":"registerConsoleCommand (method)","text":"Signature
public registerConsoleCommand(\n world: GgWorld<any, any> | null,\n command: string,\n handler: (...args: string[]) => Promise<string>,\n doc?: string,\n ): void\n
"},{"location":"modules/core/dev/gg-static.ts/#deregisterworldcommands-method","title":"deregisterWorldCommands (method)","text":"Signature
public deregisterWorldCommands(world: GgWorld<any, any> | null): void\n
"},{"location":"modules/core/dev/gg-static.ts/#console-method","title":"console (method)","text":"Signature
public async console(input: string): Promise<string>\n
"},{"location":"modules/core/dev/gg-static.ts/#runconsolecommand-method","title":"runConsoleCommand (method)","text":"Signature
public async runConsoleCommand(command: string, args: string[]): Promise<string>\n
"},{"location":"modules/core/dev/gg-static.ts/#consolekeypresseventlistener-property","title":"consoleKeyPressEventListener (property)","text":"Signature
consoleKeyPressEventListener: (event: KeyboardEvent) => void\n
"},{"location":"modules/core/dev/gg-static.ts/#consolecommands-property","title":"consoleCommands (property)","text":"Signature
consoleCommands: any\n
"},{"location":"modules/core/dev/index.ts/","title":"core/dev/index.ts","text":""},{"location":"modules/core/dev/index.ts/#index-overview","title":"index overviewTable of contents","text":""},{"location":"modules/matter/","title":"Modules","text":"Directory table of contents matter/components matter/matter-factory.ts "},{"location":"modules/matter/matter-factory.ts/","title":"matter/matter-factory.ts","text":""},{"location":"modules/matter/matter-factory.ts/#matter-factory-overview","title":"matter-factory overviewTable of contents","text":" utils MatterFactory (class) createRigidBody (method) createTrigger (method) transformOptions (method) "},{"location":"modules/matter/matter-factory.ts/#utils","title":"utils","text":""},{"location":"modules/matter/matter-factory.ts/#matterfactory-class","title":"MatterFactory (class)","text":"Signature
export declare class MatterFactory\n
"},{"location":"modules/matter/matter-factory.ts/#createrigidbody-method","title":"createRigidBody (method)","text":"Signature
createRigidBody(\n descriptor: BodyShape2DDescriptor,\n transform?: {\n position?: Point2;\n rotation?: number;\n },\n ): MatterRigidBodyComponent\n
"},{"location":"modules/matter/matter-factory.ts/#createtrigger-method","title":"createTrigger (method)","text":"Signature
createTrigger(\n descriptor: Shape2DDescriptor,\n transform?: {\n position?: Point2;\n rotation?: number;\n },\n ): any\n
"},{"location":"modules/matter/matter-factory.ts/#transformoptions-method","title":"transformOptions (method)","text":"Signature
private transformOptions(options: Partial<Body2DOptions>): IBodyDefinition\n
"},{"location":"modules/matter/components/","title":"Modules","text":"Directory table of contents matter/components/matter-rigid-body.component.ts matter/components/matter-world.component.ts "},{"location":"modules/matter/components/matter-rigid-body.component.ts/","title":"matter/components/matter-rigid-body.component.ts","text":""},{"location":"modules/matter/components/matter-rigid-body.component.ts/#matter-rigid-bodycomponent-overview","title":"matter-rigid-body.component overviewTable of contents","text":" utils MatterRigidBodyComponent (class) clone (method) addToWorld (method) removeFromWorld (method) dispose (method) resetMotion (method) name (property) entity (property) "},{"location":"modules/matter/components/matter-rigid-body.component.ts/#utils","title":"utils","text":""},{"location":"modules/matter/components/matter-rigid-body.component.ts/#matterrigidbodycomponent-class","title":"MatterRigidBodyComponent (class)","text":"Signature
export declare class MatterRigidBodyComponent {\n constructor(public nativeBody: Body)\n}\n
"},{"location":"modules/matter/components/matter-rigid-body.component.ts/#clone-method","title":"clone (method)","text":"Signature
clone(): MatterRigidBodyComponent\n
"},{"location":"modules/matter/components/matter-rigid-body.component.ts/#addtoworld-method","title":"addToWorld (method)","text":"Signature
addToWorld(world: Gg2dWorld<IVisualScene2dComponent, MatterWorldComponent>): void\n
"},{"location":"modules/matter/components/matter-rigid-body.component.ts/#removefromworld-method","title":"removeFromWorld (method)","text":"Signature
removeFromWorld(world: Gg2dWorld<IVisualScene2dComponent, MatterWorldComponent>): void\n
"},{"location":"modules/matter/components/matter-rigid-body.component.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose(): void\n
"},{"location":"modules/matter/components/matter-rigid-body.component.ts/#resetmotion-method","title":"resetMotion (method)","text":"Signature
resetMotion(): void\n
"},{"location":"modules/matter/components/matter-rigid-body.component.ts/#name-property","title":"name (property)","text":"Signature
name: string\n
"},{"location":"modules/matter/components/matter-rigid-body.component.ts/#entity-property","title":"entity (property)","text":"Signature
entity: any\n
"},{"location":"modules/matter/components/matter-world.component.ts/","title":"matter/components/matter-world.component.ts","text":""},{"location":"modules/matter/components/matter-world.component.ts/#matter-worldcomponent-overview","title":"matter-world.component overviewTable of contents","text":" utils MatterWorldComponent (class) init (method) simulate (method) startDebugger (method) stopDebugger (method) dispose (method) matterEngine (property) factory (property) "},{"location":"modules/matter/components/matter-world.component.ts/#utils","title":"utils","text":""},{"location":"modules/matter/components/matter-world.component.ts/#matterworldcomponent-class","title":"MatterWorldComponent (class)","text":"Signature
export declare class MatterWorldComponent\n
"},{"location":"modules/matter/components/matter-world.component.ts/#init-method","title":"init (method)","text":"Signature
async init(): Promise<void>\n
"},{"location":"modules/matter/components/matter-world.component.ts/#simulate-method","title":"simulate (method)","text":"Signature
simulate(delta: number): void\n
"},{"location":"modules/matter/components/matter-world.component.ts/#startdebugger-method","title":"startDebugger (method)","text":"Signature
startDebugger(world: Gg2dWorld, drawer: IDebugPhysicsDrawer<Point2, number>): void\n
"},{"location":"modules/matter/components/matter-world.component.ts/#stopdebugger-method","title":"stopDebugger (method)","text":"Signature
stopDebugger(): void\n
"},{"location":"modules/matter/components/matter-world.component.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose(): void\n
"},{"location":"modules/matter/components/matter-world.component.ts/#matterengine-property","title":"matterEngine (property)","text":"Signature
matterEngine: any\n
"},{"location":"modules/matter/components/matter-world.component.ts/#factory-property","title":"factory (property)","text":"Signature
readonly factory: MatterFactory\n
"},{"location":"modules/pixi/","title":"Modules","text":"Directory table of contents pixi/components pixi/pixi-factory.ts "},{"location":"modules/pixi/pixi-factory.ts/","title":"pixi/pixi-factory.ts","text":""},{"location":"modules/pixi/pixi-factory.ts/#pixi-factory-overview","title":"pixi-factory overviewTable of contents","text":" utils PixiFactory (class) getRandomColor (method) createPrimitive (method) "},{"location":"modules/pixi/pixi-factory.ts/#utils","title":"utils","text":""},{"location":"modules/pixi/pixi-factory.ts/#pixifactory-class","title":"PixiFactory (class)","text":"Signature
export declare class PixiFactory\n
"},{"location":"modules/pixi/pixi-factory.ts/#getrandomcolor-method","title":"getRandomColor (method)","text":"Signature
getRandomColor(): number\n
"},{"location":"modules/pixi/pixi-factory.ts/#createprimitive-method","title":"createPrimitive (method)","text":"Signature
createPrimitive(descriptor: Shape2DDescriptor, texture: Texture | null = null): PixiDisplayObjectComponent\n
"},{"location":"modules/pixi/components/","title":"Modules","text":"Directory table of contents pixi/components/pixi-display-object.component.ts pixi/components/pixi-renderer.component.ts pixi/components/pixi-scene.component.ts "},{"location":"modules/pixi/components/pixi-display-object.component.ts/","title":"pixi/components/pixi-display-object.component.ts","text":""},{"location":"modules/pixi/components/pixi-display-object.component.ts/#pixi-display-objectcomponent-overview","title":"pixi-display-object.component overviewTable of contents","text":" utils PixiDisplayObjectComponent (class) isEmpty (method) popChild (method) getBoundings (method) clone (method) addToWorld (method) removeFromWorld (method) dispose (method) entity (property) name (property) "},{"location":"modules/pixi/components/pixi-display-object.component.ts/#utils","title":"utils","text":""},{"location":"modules/pixi/components/pixi-display-object.component.ts/#pixidisplayobjectcomponent-class","title":"PixiDisplayObjectComponent (class)","text":"Signature
export declare class PixiDisplayObjectComponent {\n constructor(public nativeSprite: DisplayObject)\n}\n
"},{"location":"modules/pixi/components/pixi-display-object.component.ts/#isempty-method","title":"isEmpty (method)","text":"Signature
public isEmpty(): boolean\n
"},{"location":"modules/pixi/components/pixi-display-object.component.ts/#popchild-method","title":"popChild (method)","text":"Signature
popChild(name: string): PixiDisplayObjectComponent | null\n
"},{"location":"modules/pixi/components/pixi-display-object.component.ts/#getboundings-method","title":"getBoundings (method)","text":"Signature
getBoundings(): GgBox2d\n
"},{"location":"modules/pixi/components/pixi-display-object.component.ts/#clone-method","title":"clone (method)","text":"Signature
clone(): PixiDisplayObjectComponent\n
"},{"location":"modules/pixi/components/pixi-display-object.component.ts/#addtoworld-method","title":"addToWorld (method)","text":"Signature
addToWorld(world: Gg2dWorld<PixiSceneComponent>): void\n
"},{"location":"modules/pixi/components/pixi-display-object.component.ts/#removefromworld-method","title":"removeFromWorld (method)","text":"Signature
removeFromWorld(world: Gg2dWorld<PixiSceneComponent>): void\n
"},{"location":"modules/pixi/components/pixi-display-object.component.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose(): void\n
"},{"location":"modules/pixi/components/pixi-display-object.component.ts/#entity-property","title":"entity (property)","text":"Signature
entity: any\n
"},{"location":"modules/pixi/components/pixi-display-object.component.ts/#name-property","title":"name (property)","text":"Signature
name: string\n
"},{"location":"modules/pixi/components/pixi-renderer.component.ts/","title":"pixi/components/pixi-renderer.component.ts","text":""},{"location":"modules/pixi/components/pixi-renderer.component.ts/#pixi-renderercomponent-overview","title":"pixi-renderer.component overviewTable of contents","text":" utils PixiRendererComponent (class) resizeRenderer (method) addToWorld (method) removeFromWorld (method) render (method) dispose (method) application (property) "},{"location":"modules/pixi/components/pixi-renderer.component.ts/#utils","title":"utils","text":""},{"location":"modules/pixi/components/pixi-renderer.component.ts/#pixirenderercomponent-class","title":"PixiRendererComponent (class)","text":"Signature
export declare class PixiRendererComponent {\n constructor(\n public readonly scene: PixiSceneComponent,\n public readonly canvas?: HTMLCanvasElement,\n options: Partial<RendererOptions> = {}\n )\n}\n
"},{"location":"modules/pixi/components/pixi-renderer.component.ts/#resizerenderer-method","title":"resizeRenderer (method)","text":"Signature
resizeRenderer(newSize: Point2): void\n
"},{"location":"modules/pixi/components/pixi-renderer.component.ts/#addtoworld-method","title":"addToWorld (method)","text":"Signature
addToWorld(world: Gg2dWorld<PixiSceneComponent>): void\n
"},{"location":"modules/pixi/components/pixi-renderer.component.ts/#removefromworld-method","title":"removeFromWorld (method)","text":"Signature
removeFromWorld(world: Gg2dWorld<PixiSceneComponent>): void\n
"},{"location":"modules/pixi/components/pixi-renderer.component.ts/#render-method","title":"render (method)","text":"Signature
render(): void\n
"},{"location":"modules/pixi/components/pixi-renderer.component.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose(): void\n
"},{"location":"modules/pixi/components/pixi-renderer.component.ts/#application-property","title":"application (property)","text":"Signature
readonly application: any\n
"},{"location":"modules/pixi/components/pixi-scene.component.ts/","title":"pixi/components/pixi-scene.component.ts","text":""},{"location":"modules/pixi/components/pixi-scene.component.ts/#pixi-scenecomponent-overview","title":"pixi-scene.component overviewTable of contents","text":" utils PixiSceneComponent (class) init (method) createRenderer (method) dispose (method) factory (property) "},{"location":"modules/pixi/components/pixi-scene.component.ts/#utils","title":"utils","text":""},{"location":"modules/pixi/components/pixi-scene.component.ts/#pixiscenecomponent-class","title":"PixiSceneComponent (class)","text":"Signature
export declare class PixiSceneComponent\n
"},{"location":"modules/pixi/components/pixi-scene.component.ts/#init-method","title":"init (method)","text":"Signature
async init(): Promise<void>\n
"},{"location":"modules/pixi/components/pixi-scene.component.ts/#createrenderer-method","title":"createRenderer (method)","text":"Signature
createRenderer(canvas?: HTMLCanvasElement, rendererOptions?: Partial<RendererOptions>): PixiRendererComponent\n
"},{"location":"modules/pixi/components/pixi-scene.component.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose(): void\n
"},{"location":"modules/pixi/components/pixi-scene.component.ts/#factory-property","title":"factory (property)","text":"Signature
readonly factory: PixiFactory\n
"},{"location":"modules/rapier2d/","title":"Modules","text":"Directory table of contents rapier2d/components rapier2d/index.ts rapier2d/rapier-2d-factory.ts "},{"location":"modules/rapier2d/index.ts/","title":"rapier2d/index.ts","text":""},{"location":"modules/rapier2d/index.ts/#index-overview","title":"index overviewTable of contents","text":""},{"location":"modules/rapier2d/rapier-2d-factory.ts/","title":"rapier2d/rapier-2d-factory.ts","text":""},{"location":"modules/rapier2d/rapier-2d-factory.ts/#rapier-2d-factory-overview","title":"rapier-2d-factory overviewTable of contents","text":" utils Rapier2dFactory (class) createRigidBody (method) createTrigger (method) createColliderDescr (method) createRigidBodyDescr (method) "},{"location":"modules/rapier2d/rapier-2d-factory.ts/#utils","title":"utils","text":""},{"location":"modules/rapier2d/rapier-2d-factory.ts/#rapier2dfactory-class","title":"Rapier2dFactory (class)","text":"Signature
export declare class Rapier2dFactory {\n constructor(protected readonly world: Rapier2dWorldComponent)\n}\n
"},{"location":"modules/rapier2d/rapier-2d-factory.ts/#createrigidbody-method","title":"createRigidBody (method)","text":"Signature
createRigidBody(\n descriptor: BodyShape2DDescriptor,\n transform?: {\n position?: Point2;\n rotation?: number;\n },\n ): Rapier2dRigidBodyComponent\n
"},{"location":"modules/rapier2d/rapier-2d-factory.ts/#createtrigger-method","title":"createTrigger (method)","text":"Signature
createTrigger(\n descriptor: Shape2DDescriptor,\n transform?: {\n position?: Point2;\n rotation?: number;\n },\n ): Rapier2dTriggerComponent\n
"},{"location":"modules/rapier2d/rapier-2d-factory.ts/#createcolliderdescr-method","title":"createColliderDescr (method)","text":"Signature
public createColliderDescr(descriptor: Shape2DDescriptor): ColliderDesc[]\n
"},{"location":"modules/rapier2d/rapier-2d-factory.ts/#createrigidbodydescr-method","title":"createRigidBodyDescr (method)","text":"Signature
public createRigidBodyDescr(\n options: Partial<Body2DOptions>,\n transform?: { position?: Point2; rotation?: number },\n ): RigidBodyDesc\n
"},{"location":"modules/rapier2d/components/","title":"Modules","text":"Directory table of contents rapier2d/components/rapier-2d-rigid-body.component.ts rapier2d/components/rapier-2d-trigger.component.ts rapier2d/components/rapier-2d-world.component.ts "},{"location":"modules/rapier2d/components/rapier-2d-rigid-body.component.ts/","title":"rapier2d/components/rapier-2d-rigid-body.component.ts","text":""},{"location":"modules/rapier2d/components/rapier-2d-rigid-body.component.ts/#rapier-2d-rigid-bodycomponent-overview","title":"rapier-2d-rigid-body.component overviewTable of contents","text":" utils Rapier2dRigidBodyComponent (class) clone (method) addToWorld (method) removeFromWorld (method) resetMotion (method) dispose (method) entity (property) _nativeBody (property) _nativeBodyColliders (property) name (property) "},{"location":"modules/rapier2d/components/rapier-2d-rigid-body.component.ts/#utils","title":"utils","text":""},{"location":"modules/rapier2d/components/rapier-2d-rigid-body.component.ts/#rapier2drigidbodycomponent-class","title":"Rapier2dRigidBodyComponent (class)","text":"Signature
export declare class Rapier2dRigidBodyComponent {\n constructor(\n protected readonly world: Rapier2dWorldComponent,\n protected _colliderDescr: ColliderDesc[],\n protected _bodyDescr: RigidBodyDesc,\n protected _colliderOptions: Omit<Omit<Body2DOptions, 'dynamic'>, 'mass'>\n )\n}\n
"},{"location":"modules/rapier2d/components/rapier-2d-rigid-body.component.ts/#clone-method","title":"clone (method)","text":"Signature
clone(): Rapier2dRigidBodyComponent\n
"},{"location":"modules/rapier2d/components/rapier-2d-rigid-body.component.ts/#addtoworld-method","title":"addToWorld (method)","text":"Signature
addToWorld(world: Gg2dWorld<IVisualScene2dComponent, Rapier2dWorldComponent>): void\n
"},{"location":"modules/rapier2d/components/rapier-2d-rigid-body.component.ts/#removefromworld-method","title":"removeFromWorld (method)","text":"Signature
removeFromWorld(world: Gg2dWorld<IVisualScene2dComponent, Rapier2dWorldComponent>): void\n
"},{"location":"modules/rapier2d/components/rapier-2d-rigid-body.component.ts/#resetmotion-method","title":"resetMotion (method)","text":"Signature
resetMotion(): void\n
"},{"location":"modules/rapier2d/components/rapier-2d-rigid-body.component.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose(): void\n
"},{"location":"modules/rapier2d/components/rapier-2d-rigid-body.component.ts/#entity-property","title":"entity (property)","text":"Signature
entity: any\n
"},{"location":"modules/rapier2d/components/rapier-2d-rigid-body.component.ts/#_nativebody-property","title":"_nativeBody (property)","text":"Signature
_nativeBody: any\n
"},{"location":"modules/rapier2d/components/rapier-2d-rigid-body.component.ts/#_nativebodycolliders-property","title":"_nativeBodyColliders (property)","text":"Signature
_nativeBodyColliders: any[] | null\n
"},{"location":"modules/rapier2d/components/rapier-2d-rigid-body.component.ts/#name-property","title":"name (property)","text":"Signature
name: string\n
"},{"location":"modules/rapier2d/components/rapier-2d-trigger.component.ts/","title":"rapier2d/components/rapier-2d-trigger.component.ts","text":""},{"location":"modules/rapier2d/components/rapier-2d-trigger.component.ts/#rapier-2d-triggercomponent-overview","title":"rapier-2d-trigger.component overviewTable of contents","text":" utils Rapier2dTriggerComponent (class) addToWorld (method) checkOverlaps (method) clone (method) onEnter$ (property) onLeft$ (property) "},{"location":"modules/rapier2d/components/rapier-2d-trigger.component.ts/#utils","title":"utils","text":""},{"location":"modules/rapier2d/components/rapier-2d-trigger.component.ts/#rapier2dtriggercomponent-class","title":"Rapier2dTriggerComponent (class)","text":"Signature
export declare class Rapier2dTriggerComponent {\n constructor(\n protected readonly world: Rapier2dWorldComponent,\n protected _colliderDescr: ColliderDesc[],\n protected _bodyDescr: RigidBodyDesc\n )\n}\n
"},{"location":"modules/rapier2d/components/rapier-2d-trigger.component.ts/#addtoworld-method","title":"addToWorld (method)","text":"Signature
addToWorld(world: Gg2dWorld<IVisualScene2dComponent, Rapier2dWorldComponent>): void\n
"},{"location":"modules/rapier2d/components/rapier-2d-trigger.component.ts/#checkoverlaps-method","title":"checkOverlaps (method)","text":"Signature
checkOverlaps(): void\n
"},{"location":"modules/rapier2d/components/rapier-2d-trigger.component.ts/#clone-method","title":"clone (method)","text":"Signature
clone(): Rapier2dTriggerComponent\n
"},{"location":"modules/rapier2d/components/rapier-2d-trigger.component.ts/#onenter-property","title":"onEnter$ (property)","text":"Signature
readonly onEnter$: any\n
"},{"location":"modules/rapier2d/components/rapier-2d-trigger.component.ts/#onleft-property","title":"onLeft$ (property)","text":"Signature
readonly onLeft$: any\n
"},{"location":"modules/rapier2d/components/rapier-2d-world.component.ts/","title":"rapier2d/components/rapier-2d-world.component.ts","text":""},{"location":"modules/rapier2d/components/rapier-2d-world.component.ts/#rapier-2d-worldcomponent-overview","title":"rapier-2d-world.component overviewTable of contents","text":" utils Rapier2dWorldComponent (class) init (method) simulate (method) startDebugger (method) stopDebugger (method) dispose (method) _nativeWorld (property) handleIdEntityMap (property) "},{"location":"modules/rapier2d/components/rapier-2d-world.component.ts/#utils","title":"utils","text":""},{"location":"modules/rapier2d/components/rapier-2d-world.component.ts/#rapier2dworldcomponent-class","title":"Rapier2dWorldComponent (class)","text":"Signature
export declare class Rapier2dWorldComponent\n
"},{"location":"modules/rapier2d/components/rapier-2d-world.component.ts/#init-method","title":"init (method)","text":"Signature
async init(): Promise<void>\n
"},{"location":"modules/rapier2d/components/rapier-2d-world.component.ts/#simulate-method","title":"simulate (method)","text":"Signature
simulate(delta: number): void\n
"},{"location":"modules/rapier2d/components/rapier-2d-world.component.ts/#startdebugger-method","title":"startDebugger (method)","text":"Signature
startDebugger(world: Gg2dWorld, drawer: IDebugPhysicsDrawer<Point2, number>): void\n
"},{"location":"modules/rapier2d/components/rapier-2d-world.component.ts/#stopdebugger-method","title":"stopDebugger (method)","text":"Signature
stopDebugger(): void\n
"},{"location":"modules/rapier2d/components/rapier-2d-world.component.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose(): void\n
"},{"location":"modules/rapier2d/components/rapier-2d-world.component.ts/#_nativeworld-property","title":"_nativeWorld (property)","text":"Signature
_nativeWorld: any\n
"},{"location":"modules/rapier2d/components/rapier-2d-world.component.ts/#handleidentitymap-property","title":"handleIdEntityMap (property)","text":"Signature
readonly handleIdEntityMap: any\n
"},{"location":"modules/rapier3d/","title":"Modules","text":"Directory table of contents rapier3d/components rapier3d/index.ts rapier3d/rapier-3d-factory.ts rapier3d/rapier-3d-loader.ts "},{"location":"modules/rapier3d/index.ts/","title":"rapier3d/index.ts","text":""},{"location":"modules/rapier3d/index.ts/#index-overview","title":"index overviewTable of contents","text":""},{"location":"modules/rapier3d/rapier-3d-factory.ts/","title":"rapier3d/rapier-3d-factory.ts","text":""},{"location":"modules/rapier3d/rapier-3d-factory.ts/#rapier-3d-factory-overview","title":"rapier-3d-factory overviewTable of contents","text":" utils Rapier3dFactory (class) createRigidBody (method) createTrigger (method) createColliderDescr (method) createRigidBodyDescr (method) "},{"location":"modules/rapier3d/rapier-3d-factory.ts/#utils","title":"utils","text":""},{"location":"modules/rapier3d/rapier-3d-factory.ts/#rapier3dfactory-class","title":"Rapier3dFactory (class)","text":"Signature
export declare class Rapier3dFactory {\n constructor(protected readonly world: Rapier3dWorldComponent)\n}\n
"},{"location":"modules/rapier3d/rapier-3d-factory.ts/#createrigidbody-method","title":"createRigidBody (method)","text":"Signature
createRigidBody(\n descriptor: BodyShape3DDescriptor,\n transform?: {\n position?: Point3;\n rotation?: Point4;\n },\n ): Rapier3dRigidBodyComponent\n
"},{"location":"modules/rapier3d/rapier-3d-factory.ts/#createtrigger-method","title":"createTrigger (method)","text":"Signature
createTrigger(\n descriptor: Shape3DDescriptor,\n transform?: {\n position?: Point3;\n rotation?: Point4;\n },\n ): Rapier3dTriggerComponent\n
"},{"location":"modules/rapier3d/rapier-3d-factory.ts/#createcolliderdescr-method","title":"createColliderDescr (method)","text":"Signature
public createColliderDescr(descriptor: Shape3DDescriptor): ColliderDesc[]\n
"},{"location":"modules/rapier3d/rapier-3d-factory.ts/#createrigidbodydescr-method","title":"createRigidBodyDescr (method)","text":"Signature
public createRigidBodyDescr(\n options: Partial<Body3DOptions>,\n transform?: { position?: Point3; rotation?: Point4 },\n ): RigidBodyDesc\n
"},{"location":"modules/rapier3d/rapier-3d-loader.ts/","title":"rapier3d/rapier-3d-loader.ts","text":""},{"location":"modules/rapier3d/rapier-3d-loader.ts/#rapier-3d-loader-overview","title":"rapier-3d-loader overviewTable of contents","text":" utils Rapier3dLoader (class) "},{"location":"modules/rapier3d/rapier-3d-loader.ts/#utils","title":"utils","text":""},{"location":"modules/rapier3d/rapier-3d-loader.ts/#rapier3dloader-class","title":"Rapier3dLoader (class)","text":"Signature
export declare class Rapier3dLoader {\n constructor(protected readonly world: Rapier3dWorldComponent)\n}\n
"},{"location":"modules/rapier3d/components/","title":"Modules","text":"Directory table of contents rapier3d/components/rapier-3d-raycast-vehicle.component.ts rapier3d/components/rapier-3d-rigid-body.component.ts rapier3d/components/rapier-3d-trigger.component.ts rapier3d/components/rapier-3d-world.component.ts "},{"location":"modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/","title":"rapier3d/components/rapier-3d-raycast-vehicle.component.ts","text":""},{"location":"modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/#rapier-3d-raycast-vehiclecomponent-overview","title":"rapier-3d-raycast-vehicle.component overviewTable of contents","text":" utils Rapier3dRaycastVehicleComponent (class) addToWorld (method) removeFromWorld (method) addWheel (method) setSteering (method) applyEngineForce (method) applyBrake (method) isWheelTouchesGround (method) getWheelTransform (method) resetSuspension (method) dispose (method) _nativeVehicle (property) "},{"location":"modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/#utils","title":"utils","text":""},{"location":"modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/#rapier3draycastvehiclecomponent-class","title":"Rapier3dRaycastVehicleComponent (class)","text":"Signature
export declare class Rapier3dRaycastVehicleComponent {\n constructor(protected readonly world: Rapier3dWorldComponent, private chassisBody: Rapier3dRigidBodyComponent)\n}\n
"},{"location":"modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/#addtoworld-method","title":"addToWorld (method)","text":"Signature
addToWorld(world: Gg3dWorld<IVisualScene3dComponent, Rapier3dWorldComponent>)\n
"},{"location":"modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/#removefromworld-method","title":"removeFromWorld (method)","text":"Signature
removeFromWorld(world: Gg3dWorld<IVisualScene3dComponent, Rapier3dWorldComponent>)\n
"},{"location":"modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/#addwheel-method","title":"addWheel (method)","text":"Signature
addWheel(options: WheelOptions, suspensionOptions: SuspensionOptions): void\n
"},{"location":"modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/#setsteering-method","title":"setSteering (method)","text":"Signature
setSteering(wheelIndex: number, steering: number): void\n
"},{"location":"modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/#applyengineforce-method","title":"applyEngineForce (method)","text":"Signature
applyEngineForce(wheelIndex: number, force: number): void\n
"},{"location":"modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/#applybrake-method","title":"applyBrake (method)","text":"Signature
applyBrake(wheelIndex: number, force: number): void\n
"},{"location":"modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/#iswheeltouchesground-method","title":"isWheelTouchesGround (method)","text":"Signature
isWheelTouchesGround(wheelIndex: number): boolean\n
"},{"location":"modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/#getwheeltransform-method","title":"getWheelTransform (method)","text":"Signature
getWheelTransform(wheelIndex: number): { position: Point3; rotation: Point4 }\n
"},{"location":"modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/#resetsuspension-method","title":"resetSuspension (method)","text":"Signature
resetSuspension(): void\n
"},{"location":"modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose()\n
"},{"location":"modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/#_nativevehicle-property","title":"_nativeVehicle (property)","text":"Signature
_nativeVehicle: any\n
"},{"location":"modules/rapier3d/components/rapier-3d-rigid-body.component.ts/","title":"rapier3d/components/rapier-3d-rigid-body.component.ts","text":""},{"location":"modules/rapier3d/components/rapier-3d-rigid-body.component.ts/#rapier-3d-rigid-bodycomponent-overview","title":"rapier-3d-rigid-body.component overviewTable of contents","text":" utils Rapier3dRigidBodyComponent (class) clone (method) addToWorld (method) removeFromWorld (method) resetMotion (method) dispose (method) entity (property) _nativeBody (property) _nativeBodyColliders (property) name (property) "},{"location":"modules/rapier3d/components/rapier-3d-rigid-body.component.ts/#utils","title":"utils","text":""},{"location":"modules/rapier3d/components/rapier-3d-rigid-body.component.ts/#rapier3drigidbodycomponent-class","title":"Rapier3dRigidBodyComponent (class)","text":"Signature
export declare class Rapier3dRigidBodyComponent {\n constructor(\n protected readonly world: Rapier3dWorldComponent,\n protected _colliderDescr: ColliderDesc[],\n protected _bodyDescr: RigidBodyDesc,\n protected _colliderOptions: Omit<Omit<Body3DOptions, 'dynamic'>, 'mass'>\n )\n}\n
"},{"location":"modules/rapier3d/components/rapier-3d-rigid-body.component.ts/#clone-method","title":"clone (method)","text":"Signature
clone(): Rapier3dRigidBodyComponent\n
"},{"location":"modules/rapier3d/components/rapier-3d-rigid-body.component.ts/#addtoworld-method","title":"addToWorld (method)","text":"Signature
addToWorld(world: Gg3dWorld<IVisualScene3dComponent, Rapier3dWorldComponent>): void\n
"},{"location":"modules/rapier3d/components/rapier-3d-rigid-body.component.ts/#removefromworld-method","title":"removeFromWorld (method)","text":"Signature
removeFromWorld(world: Gg3dWorld<IVisualScene3dComponent, Rapier3dWorldComponent>): void\n
"},{"location":"modules/rapier3d/components/rapier-3d-rigid-body.component.ts/#resetmotion-method","title":"resetMotion (method)","text":"Signature
resetMotion(): void\n
"},{"location":"modules/rapier3d/components/rapier-3d-rigid-body.component.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose(): void\n
"},{"location":"modules/rapier3d/components/rapier-3d-rigid-body.component.ts/#entity-property","title":"entity (property)","text":"Signature
entity: any\n
"},{"location":"modules/rapier3d/components/rapier-3d-rigid-body.component.ts/#_nativebody-property","title":"_nativeBody (property)","text":"Signature
_nativeBody: any\n
"},{"location":"modules/rapier3d/components/rapier-3d-rigid-body.component.ts/#_nativebodycolliders-property","title":"_nativeBodyColliders (property)","text":"Signature
_nativeBodyColliders: any[] | null\n
"},{"location":"modules/rapier3d/components/rapier-3d-rigid-body.component.ts/#name-property","title":"name (property)","text":"Signature
name: string\n
"},{"location":"modules/rapier3d/components/rapier-3d-trigger.component.ts/","title":"rapier3d/components/rapier-3d-trigger.component.ts","text":""},{"location":"modules/rapier3d/components/rapier-3d-trigger.component.ts/#rapier-3d-triggercomponent-overview","title":"rapier-3d-trigger.component overviewTable of contents","text":" utils Rapier3dTriggerComponent (class) addToWorld (method) checkOverlaps (method) clone (method) onEnter$ (property) onLeft$ (property) "},{"location":"modules/rapier3d/components/rapier-3d-trigger.component.ts/#utils","title":"utils","text":""},{"location":"modules/rapier3d/components/rapier-3d-trigger.component.ts/#rapier3dtriggercomponent-class","title":"Rapier3dTriggerComponent (class)","text":"Signature
export declare class Rapier3dTriggerComponent {\n constructor(\n protected readonly world: Rapier3dWorldComponent,\n protected _colliderDescr: ColliderDesc[],\n protected _bodyDescr: RigidBodyDesc\n )\n}\n
"},{"location":"modules/rapier3d/components/rapier-3d-trigger.component.ts/#addtoworld-method","title":"addToWorld (method)","text":"Signature
addToWorld(world: Gg3dWorld<IVisualScene3dComponent, Rapier3dWorldComponent>): void\n
"},{"location":"modules/rapier3d/components/rapier-3d-trigger.component.ts/#checkoverlaps-method","title":"checkOverlaps (method)","text":"Signature
checkOverlaps(): void\n
"},{"location":"modules/rapier3d/components/rapier-3d-trigger.component.ts/#clone-method","title":"clone (method)","text":"Signature
clone(): Rapier3dTriggerComponent\n
"},{"location":"modules/rapier3d/components/rapier-3d-trigger.component.ts/#onenter-property","title":"onEnter$ (property)","text":"Signature
readonly onEnter$: any\n
"},{"location":"modules/rapier3d/components/rapier-3d-trigger.component.ts/#onleft-property","title":"onLeft$ (property)","text":"Signature
readonly onLeft$: any\n
"},{"location":"modules/rapier3d/components/rapier-3d-world.component.ts/","title":"rapier3d/components/rapier-3d-world.component.ts","text":""},{"location":"modules/rapier3d/components/rapier-3d-world.component.ts/#rapier-3d-worldcomponent-overview","title":"rapier-3d-world.component overviewTable of contents","text":" utils Rapier3dWorldComponent (class) init (method) simulate (method) startDebugger (method) stopDebugger (method) dispose (method) _nativeWorld (property) handleIdEntityMap (property) "},{"location":"modules/rapier3d/components/rapier-3d-world.component.ts/#utils","title":"utils","text":""},{"location":"modules/rapier3d/components/rapier-3d-world.component.ts/#rapier3dworldcomponent-class","title":"Rapier3dWorldComponent (class)","text":"Signature
export declare class Rapier3dWorldComponent\n
"},{"location":"modules/rapier3d/components/rapier-3d-world.component.ts/#init-method","title":"init (method)","text":"Signature
async init(): Promise<void>\n
"},{"location":"modules/rapier3d/components/rapier-3d-world.component.ts/#simulate-method","title":"simulate (method)","text":"Signature
simulate(delta: number): void\n
"},{"location":"modules/rapier3d/components/rapier-3d-world.component.ts/#startdebugger-method","title":"startDebugger (method)","text":"Signature
startDebugger(world: Gg3dWorld, drawer: IDebugPhysicsDrawer<Point3, Point4>): void\n
"},{"location":"modules/rapier3d/components/rapier-3d-world.component.ts/#stopdebugger-method","title":"stopDebugger (method)","text":"Signature
stopDebugger(): void\n
"},{"location":"modules/rapier3d/components/rapier-3d-world.component.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose(): void\n
"},{"location":"modules/rapier3d/components/rapier-3d-world.component.ts/#_nativeworld-property","title":"_nativeWorld (property)","text":"Signature
_nativeWorld: any\n
"},{"location":"modules/rapier3d/components/rapier-3d-world.component.ts/#handleidentitymap-property","title":"handleIdEntityMap (property)","text":"Signature
readonly handleIdEntityMap: any\n
"},{"location":"modules/three/","title":"Modules","text":"Directory table of contents three/components three/three-factory.ts three/three-loader.ts three/three-physics-drawer.ts "},{"location":"modules/three/three-factory.ts/","title":"three/three-factory.ts","text":""},{"location":"modules/three/three-factory.ts/#three-factory-overview","title":"three-factory overviewTable of contents","text":" utils ThreeFactory (class) getRandomMaterial (method) transformPrimitiveZUp (method) createPrimitive (method) "},{"location":"modules/three/three-factory.ts/#utils","title":"utils","text":""},{"location":"modules/three/three-factory.ts/#threefactory-class","title":"ThreeFactory (class)","text":"Signature
export declare class ThreeFactory\n
"},{"location":"modules/three/three-factory.ts/#getrandommaterial-method","title":"getRandomMaterial (method)","text":"Signature
getRandomMaterial(): Material\n
"},{"location":"modules/three/three-factory.ts/#transformprimitivezup-method","title":"transformPrimitiveZUp (method)","text":"Signature
private transformPrimitiveZUp(object: Object3D): Group\n
"},{"location":"modules/three/three-factory.ts/#createprimitive-method","title":"createPrimitive (method)","text":"Signature
createPrimitive(\n descriptor: Shape3DDescriptor,\n material: Material = this.getRandomMaterial(),\n ): ThreeDisplayObjectComponent\n
"},{"location":"modules/three/three-loader.ts/","title":"three/three-loader.ts","text":""},{"location":"modules/three/three-loader.ts/#three-loader-overview","title":"three-loader overviewTable of contents","text":" utils ThreeLoader (class) registerGltfLoaderAddon (method) loadFromGgGlb (method) "},{"location":"modules/three/three-loader.ts/#utils","title":"utils","text":""},{"location":"modules/three/three-loader.ts/#threeloader-class","title":"ThreeLoader (class)","text":"Signature
export declare class ThreeLoader\n
"},{"location":"modules/three/three-loader.ts/#registergltfloaderaddon-method","title":"registerGltfLoaderAddon (method)","text":"Signature
public registerGltfLoaderAddon(gltf: any): void\n
"},{"location":"modules/three/three-loader.ts/#loadfromggglb-method","title":"loadFromGgGlb (method)","text":"Signature
public async loadFromGgGlb(glbFile: ArrayBuffer, meta: GgMeta): Promise<ThreeDisplayObjectComponent | null>\n
"},{"location":"modules/three/three-physics-drawer.ts/","title":"three/three-physics-drawer.ts","text":""},{"location":"modules/three/three-physics-drawer.ts/#three-physics-drawer-overview","title":"three-physics-drawer overviewTable of contents","text":" utils ThreePhysicsDrawer (class) drawContactPoint (method) drawLine (method) update (method) setXYZ (method) entity (property) debugBufferSize (property) debugVertices (property) debugColors (property) "},{"location":"modules/three/three-physics-drawer.ts/#utils","title":"utils","text":""},{"location":"modules/three/three-physics-drawer.ts/#threephysicsdrawer-class","title":"ThreePhysicsDrawer (class)","text":"Signature
export declare class ThreePhysicsDrawer {\n constructor()\n}\n
"},{"location":"modules/three/three-physics-drawer.ts/#drawcontactpoint-method","title":"drawContactPoint (method)","text":"Signature
drawContactPoint(point: Point3, normal: Point3, color?: Point3): void\n
"},{"location":"modules/three/three-physics-drawer.ts/#drawline-method","title":"drawLine (method)","text":"Signature
drawLine(from: Point3, to: Point3, color?: Point3): void\n
"},{"location":"modules/three/three-physics-drawer.ts/#update-method","title":"update (method)","text":"Signature
update()\n
"},{"location":"modules/three/three-physics-drawer.ts/#setxyz-method","title":"setXYZ (method)","text":"Signature
private setXYZ(array: Float32Array, index: number, x: number, y: number, z: number)\n
"},{"location":"modules/three/three-physics-drawer.ts/#entity-property","title":"entity (property)","text":"Signature
entity: any\n
"},{"location":"modules/three/three-physics-drawer.ts/#debugbuffersize-property","title":"debugBufferSize (property)","text":"Signature
readonly debugBufferSize: number\n
"},{"location":"modules/three/three-physics-drawer.ts/#debugvertices-property","title":"debugVertices (property)","text":"Signature
readonly debugVertices: Float32Array\n
"},{"location":"modules/three/three-physics-drawer.ts/#debugcolors-property","title":"debugColors (property)","text":"Signature
readonly debugColors: Float32Array\n
"},{"location":"modules/three/components/","title":"Modules","text":"Directory table of contents three/components/three-camera.component.ts three/components/three-display-object.component.ts three/components/three-renderer-component.ts three/components/three-scene.component.ts "},{"location":"modules/three/components/three-camera.component.ts/","title":"three/components/three-camera.component.ts","text":""},{"location":"modules/three/components/three-camera.component.ts/#three-cameracomponent-overview","title":"three-camera.component overviewTable of contents","text":" utils ThreeCameraComponent (class) "},{"location":"modules/three/components/three-camera.component.ts/#utils","title":"utils","text":""},{"location":"modules/three/components/three-camera.component.ts/#threecameracomponent-class","title":"ThreeCameraComponent (class)","text":"Signature
export declare class ThreeCameraComponent {\n constructor(public readonly nativeCamera: Camera)\n}\n
"},{"location":"modules/three/components/three-display-object.component.ts/","title":"three/components/three-display-object.component.ts","text":""},{"location":"modules/three/components/three-display-object.component.ts/#three-display-objectcomponent-overview","title":"three-display-object.component overviewTable of contents","text":" utils ThreeDisplayObjectComponent (class) isEmpty (method) popChild (method) getBoundings (method) clone (method) addToWorld (method) removeFromWorld (method) dispose (method) disposeMesh (method) entity (property) "},{"location":"modules/three/components/three-display-object.component.ts/#utils","title":"utils","text":""},{"location":"modules/three/components/three-display-object.component.ts/#threedisplayobjectcomponent-class","title":"ThreeDisplayObjectComponent (class)","text":"Signature
export declare class ThreeDisplayObjectComponent {\n constructor(public nativeMesh: Object3D)\n}\n
"},{"location":"modules/three/components/three-display-object.component.ts/#isempty-method","title":"isEmpty (method)","text":"Signature
public isEmpty(): boolean\n
"},{"location":"modules/three/components/three-display-object.component.ts/#popchild-method","title":"popChild (method)","text":"Signature
popChild(name: string): ThreeDisplayObjectComponent | null\n
"},{"location":"modules/three/components/three-display-object.component.ts/#getboundings-method","title":"getBoundings (method)","text":"Signature
getBoundings(): GgBox3d\n
"},{"location":"modules/three/components/three-display-object.component.ts/#clone-method","title":"clone (method)","text":"Signature
clone(): ThreeDisplayObjectComponent\n
"},{"location":"modules/three/components/three-display-object.component.ts/#addtoworld-method","title":"addToWorld (method)","text":"Signature
addToWorld(world: Gg3dWorld<ThreeSceneComponent>): void\n
"},{"location":"modules/three/components/three-display-object.component.ts/#removefromworld-method","title":"removeFromWorld (method)","text":"Signature
removeFromWorld(world: Gg3dWorld<ThreeSceneComponent>): void\n
"},{"location":"modules/three/components/three-display-object.component.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose(): void\n
"},{"location":"modules/three/components/three-display-object.component.ts/#disposemesh-method","title":"disposeMesh (method)","text":"Signature
private disposeMesh(mesh: Mesh)\n
"},{"location":"modules/three/components/three-display-object.component.ts/#entity-property","title":"entity (property)","text":"Signature
entity: any\n
"},{"location":"modules/three/components/three-renderer-component.ts/","title":"three/components/three-renderer-component.ts","text":""},{"location":"modules/three/components/three-renderer-component.ts/#three-renderer-component-overview","title":"three-renderer-component overviewTable of contents","text":" utils ThreeRendererComponent (class) addToWorld (method) removeFromWorld (method) resizeRenderer (method) render (method) dispose (method) nativeRenderer (property) "},{"location":"modules/three/components/three-renderer-component.ts/#utils","title":"utils","text":""},{"location":"modules/three/components/three-renderer-component.ts/#threerenderercomponent-class","title":"ThreeRendererComponent (class)","text":"Signature
export declare class ThreeRendererComponent {\n constructor(\n public readonly scene: ThreeSceneComponent,\n public readonly canvas?: HTMLCanvasElement,\n rendererOptions: Partial<RendererOptions> = {},\n public camera: ThreeCameraComponent = new ThreeCameraComponent(new PerspectiveCamera(75, 1, 1, 10000))\n )\n}\n
"},{"location":"modules/three/components/three-renderer-component.ts/#addtoworld-method","title":"addToWorld (method)","text":"Signature
addToWorld(world: Gg3dWorld<ThreeSceneComponent>)\n
"},{"location":"modules/three/components/three-renderer-component.ts/#removefromworld-method","title":"removeFromWorld (method)","text":"Signature
removeFromWorld(world: Gg3dWorld<ThreeSceneComponent>)\n
"},{"location":"modules/three/components/three-renderer-component.ts/#resizerenderer-method","title":"resizeRenderer (method)","text":"Signature
resizeRenderer(newSize: Point2): void\n
"},{"location":"modules/three/components/three-renderer-component.ts/#render-method","title":"render (method)","text":"Signature
render(): void\n
"},{"location":"modules/three/components/three-renderer-component.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose(): void\n
"},{"location":"modules/three/components/three-renderer-component.ts/#nativerenderer-property","title":"nativeRenderer (property)","text":"Signature
readonly nativeRenderer: any\n
"},{"location":"modules/three/components/three-scene.component.ts/","title":"three/components/three-scene.component.ts","text":""},{"location":"modules/three/components/three-scene.component.ts/#three-scenecomponent-overview","title":"three-scene.component overviewTable of contents","text":" utils ThreeSceneComponent (class) init (method) createRenderer (method) dispose (method) factory (property) loader (property) debugPhysicsDrawerClass (property) "},{"location":"modules/three/components/three-scene.component.ts/#utils","title":"utils","text":""},{"location":"modules/three/components/three-scene.component.ts/#threescenecomponent-class","title":"ThreeSceneComponent (class)","text":"Signature
export declare class ThreeSceneComponent\n
"},{"location":"modules/three/components/three-scene.component.ts/#init-method","title":"init (method)","text":"Signature
async init(): Promise<void>\n
"},{"location":"modules/three/components/three-scene.component.ts/#createrenderer-method","title":"createRenderer (method)","text":"Signature
createRenderer(\n camera: ThreeCameraComponent,\n canvas?: HTMLCanvasElement,\n rendererOptions?: Partial<RendererOptions>,\n ): ThreeRendererComponent\n
"},{"location":"modules/three/components/three-scene.component.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose(): void\n
"},{"location":"modules/three/components/three-scene.component.ts/#factory-property","title":"factory (property)","text":"Signature
readonly factory: ThreeFactory\n
"},{"location":"modules/three/components/three-scene.component.ts/#loader-property","title":"loader (property)","text":"Signature
readonly loader: ThreeLoader\n
"},{"location":"modules/three/components/three-scene.component.ts/#debugphysicsdrawerclass-property","title":"debugPhysicsDrawerClass (property)","text":"Signature
readonly debugPhysicsDrawerClass: typeof ThreePhysicsDrawer\n
"}]}
\ No newline at end of file
+{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"modules/","title":"Modules","text":"Directory table of contents ammo core matter pixi rapier2d rapier3d three All modules index ammo/ammo-debugger.ts ammo/ammo-factory.ts ammo/ammo-loader.ts ammo/ammo-utils.ts ammo/types.ts ammo/components/ammo-body.component.ts ammo/components/ammo-raycast-vehicle.component.ts ammo/components/ammo-rigid-body.component.ts ammo/components/ammo-trigger.component.ts ammo/components/ammo-world.component.ts core/2d/factories.ts core/2d/gg-2d-world.ts core/2d/index.ts core/2d/components/physics/i-physics-world-2d.component.ts core/2d/components/physics/i-rigid-body-2d.component.ts core/2d/components/physics/i-trigger-2d.component.ts core/2d/components/rendering/i-display-object-2d.component.ts core/2d/components/rendering/i-renderer-2d.component.ts core/2d/components/rendering/i-visual-scene-2d.component.ts core/2d/entities/entity-2d.ts core/2d/entities/i-renderable-2d.entity.ts core/2d/entities/renderer-2d.entity.ts core/2d/entities/trigger-2d.entity.ts core/2d/entities/controllers/entity-2d-positioning.animator.ts core/2d/interfaces/i-positionable-2d.ts core/2d/models/body-options.ts core/2d/models/shapes.ts core/3d/factories.ts core/3d/gg-3d-world.ts core/3d/index.ts core/3d/loader.ts core/3d/loaders.ts core/3d/components/physics/i-physics-world-3d.component.ts core/3d/components/physics/i-raycast-vehicle.component.ts core/3d/components/physics/i-rigid-body-3d.component.ts core/3d/components/physics/i-trigger-3d.component.ts core/3d/components/rendering/i-camera.component.ts core/3d/components/rendering/i-display-object-3d.component.ts core/3d/components/rendering/i-renderer-3d.component.ts core/3d/components/rendering/i-visual-scene-3d.component.ts core/3d/entities/entity-3d.ts core/3d/entities/i-renderable-3d.entity.ts core/3d/entities/map-graph-3d.entity.ts core/3d/entities/raycast-vehicle-3d.entity.ts core/3d/entities/renderer-3d.entity.ts core/3d/entities/trigger-3d.entity.ts core/3d/entities/controllers/animators/camera-3d.animator.ts core/3d/entities/controllers/animators/entity-3d-positioning.animator.ts core/3d/entities/controllers/input/car-keyboard-handling.controller.ts core/3d/entities/controllers/input/free-camera.controller.ts core/3d/entities/controllers/input/gg-car-keyboard-handling.controller.ts core/3d/entities/controllers/input/orbit-camera.controller.ts core/3d/entities/gg-car/gg-car.entity.ts core/3d/interfaces/i-positionable-3d.ts core/3d/models/body-options.ts core/3d/models/gg-meta.ts core/3d/models/shapes.ts core/base/gg-world.ts core/base/index.ts core/base/clock/global-clock.ts core/base/clock/i-clock.ts core/base/clock/pausable-clock.ts core/base/components/i-component.ts core/base/components/i-world-component.ts core/base/components/physics/i-body.component.ts core/base/components/physics/i-physics-world.component.ts core/base/components/physics/i-rigid-body.component.ts core/base/components/physics/i-trigger.component.ts core/base/components/rendering/i-display-object.component.ts core/base/components/rendering/i-renderer.component.ts core/base/components/rendering/i-visual-scene.component.ts core/base/data-structures/bitmask.ts core/base/data-structures/graph.ts core/base/entities/i-entity.ts core/base/entities/i-renderable.entity.ts core/base/entities/i-renderer.entity.ts core/base/entities/controllers/animation-mixer.ts core/base/entities/controllers/inline-controller.ts core/base/inputs/direction.keyboard.input.ts core/base/inputs/i-input.ts core/base/inputs/keyboard.input.ts core/base/inputs/mouse.input.ts core/base/interfaces/i-debug-physics-drawer.ts core/base/interfaces/i-positionable.ts core/base/math/box.ts core/base/math/matrix4.ts core/base/math/numbers.ts core/base/math/point2.ts core/base/math/point3.ts core/base/math/quaternion.ts core/base/math/splines.ts core/base/models/axis-directions.ts core/base/models/body-options.ts core/base/models/geometry-nodes.ts core/base/models/points.ts core/dev/gg-console.ui.ts core/dev/gg-debugger.ui.ts core/dev/gg-static.ts core/dev/index.ts matter/matter-factory.ts matter/types.ts matter/components/matter-rigid-body.component.ts matter/components/matter-world.component.ts pixi/pixi-factory.ts pixi/types.ts pixi/components/pixi-display-object.component.ts pixi/components/pixi-renderer.component.ts pixi/components/pixi-scene.component.ts rapier2d/index.ts rapier2d/rapier-2d-factory.ts rapier2d/types.ts rapier2d/components/rapier-2d-rigid-body.component.ts rapier2d/components/rapier-2d-trigger.component.ts rapier2d/components/rapier-2d-world.component.ts rapier3d/index.ts rapier3d/rapier-3d-factory.ts rapier3d/rapier-3d-loader.ts rapier3d/types.ts rapier3d/components/rapier-3d-raycast-vehicle.component.ts rapier3d/components/rapier-3d-rigid-body.component.ts rapier3d/components/rapier-3d-trigger.component.ts rapier3d/components/rapier-3d-world.component.ts three/three-factory.ts three/three-loader.ts three/three-physics-drawer.ts three/types.ts three/components/three-camera.component.ts three/components/three-display-object.component.ts three/components/three-renderer-component.ts three/components/three-scene.component.ts "},{"location":"modules/ammo/","title":"Modules","text":"Directory table of contents ammo/ammo-debugger.ts ammo/ammo-factory.ts ammo/ammo-loader.ts ammo/ammo-utils.ts ammo/components ammo/types.ts "},{"location":"modules/ammo/ammo-debugger.ts/","title":"ammo/ammo-debugger.ts","text":""},{"location":"modules/ammo/ammo-debugger.ts/#ammo-debugger-overview","title":"ammo-debugger overviewTable of contents","text":" utils AmmoDebugger (class) draw3dText (method) drawContactPoint (method) drawLine (method) getDebugMode (method) update (method) setDebugFlags (method) setDebugMode (method) reportErrorWarning (method) debugMode (property) ammoInstance (property) DebugBufferSize "},{"location":"modules/ammo/ammo-debugger.ts/#utils","title":"utils","text":""},{"location":"modules/ammo/ammo-debugger.ts/#ammodebugger-class","title":"AmmoDebugger (class)","text":"Signature
export declare class AmmoDebugger {\n constructor(\n protected readonly world: AmmoWorldComponent,\n private readonly drawer: IDebugPhysicsDrawer<Point3, Point4>\n )\n}\n
"},{"location":"modules/ammo/ammo-debugger.ts/#draw3dtext-method","title":"draw3dText (method)","text":"Signature
draw3dText(location: Ammo.btVector3, textString: string): void\n
"},{"location":"modules/ammo/ammo-debugger.ts/#drawcontactpoint-method","title":"drawContactPoint (method)","text":"Signature
drawContactPoint(\n pointOnB: Ammo.btVector3,\n normalOnB: Ammo.btVector3,\n distance: number,\n lifeTime: number,\n color: Ammo.btVector3,\n ): void\n
"},{"location":"modules/ammo/ammo-debugger.ts/#drawline-method","title":"drawLine (method)","text":"Signature
drawLine(from: Ammo.btVector3, to: Ammo.btVector3, color: Ammo.btVector3): void\n
"},{"location":"modules/ammo/ammo-debugger.ts/#getdebugmode-method","title":"getDebugMode (method)","text":"Signature
getDebugMode(): number\n
"},{"location":"modules/ammo/ammo-debugger.ts/#update-method","title":"update (method)","text":"Signature
update(): void\n
"},{"location":"modules/ammo/ammo-debugger.ts/#setdebugflags-method","title":"setDebugFlags (method)","text":"Signature
setDebugFlags(flags: AmmoDebugMode[]): void\n
"},{"location":"modules/ammo/ammo-debugger.ts/#setdebugmode-method","title":"setDebugMode (method)","text":"Signature
setDebugMode(debugMode: number): void\n
"},{"location":"modules/ammo/ammo-debugger.ts/#reporterrorwarning-method","title":"reportErrorWarning (method)","text":"Signature
reportErrorWarning(warningString: string): void\n
"},{"location":"modules/ammo/ammo-debugger.ts/#debugmode-property","title":"debugMode (property)","text":"Signature
debugMode: AmmoDebugMode\n
"},{"location":"modules/ammo/ammo-debugger.ts/#ammoinstance-property","title":"ammoInstance (property)","text":"Signature
readonly ammoInstance: any\n
"},{"location":"modules/ammo/ammo-debugger.ts/#debugbuffersize","title":"DebugBufferSize","text":"Signature
export declare const DebugBufferSize: number\n
"},{"location":"modules/ammo/ammo-factory.ts/","title":"ammo/ammo-factory.ts","text":""},{"location":"modules/ammo/ammo-factory.ts/#ammo-factory-overview","title":"ammo-factory overviewTable of contents","text":" utils AmmoFactory (class) createRigidBody (method) createTrigger (method) createRaycastVehicle (method) createShape (method) createRigidBodyFromShape (method) createTriggerFromShape (method) "},{"location":"modules/ammo/ammo-factory.ts/#utils","title":"utils","text":""},{"location":"modules/ammo/ammo-factory.ts/#ammofactory-class","title":"AmmoFactory (class)","text":"Signature
export declare class AmmoFactory {\n constructor(protected readonly world: AmmoWorldComponent)\n}\n
"},{"location":"modules/ammo/ammo-factory.ts/#createrigidbody-method","title":"createRigidBody (method)","text":"Signature
createRigidBody(\n descriptor: BodyShape3DDescriptor,\n transform?: {\n position?: Point3;\n rotation?: Point4;\n },\n ): AmmoRigidBodyComponent\n
"},{"location":"modules/ammo/ammo-factory.ts/#createtrigger-method","title":"createTrigger (method)","text":"Signature
createTrigger(\n descriptor: Shape3DDescriptor,\n transform?: {\n position?: Point3;\n rotation?: Point4;\n },\n ): AmmoTriggerComponent\n
"},{"location":"modules/ammo/ammo-factory.ts/#createraycastvehicle-method","title":"createRaycastVehicle (method)","text":"Signature
createRaycastVehicle(chassis: AmmoRigidBodyComponent): AmmoRaycastVehicleComponent\n
"},{"location":"modules/ammo/ammo-factory.ts/#createshape-method","title":"createShape (method)","text":"Signature
protected createShape(descriptor: Shape3DDescriptor): Ammo.btCollisionShape\n
"},{"location":"modules/ammo/ammo-factory.ts/#createrigidbodyfromshape-method","title":"createRigidBodyFromShape (method)","text":"Signature
public createRigidBodyFromShape(\n shape: Ammo.btCollisionShape,\n options: Partial<Body3DOptions>,\n transform?: { position?: Point3; rotation?: Point4 },\n ): AmmoRigidBodyComponent\n
"},{"location":"modules/ammo/ammo-factory.ts/#createtriggerfromshape-method","title":"createTriggerFromShape (method)","text":"Signature
public createTriggerFromShape(\n shape: Ammo.btCollisionShape,\n transform?: { position?: Point3; rotation?: Point4 },\n ): AmmoTriggerComponent\n
"},{"location":"modules/ammo/ammo-loader.ts/","title":"ammo/ammo-loader.ts","text":""},{"location":"modules/ammo/ammo-loader.ts/#ammo-loader-overview","title":"ammo-loader overviewTable of contents","text":""},{"location":"modules/ammo/ammo-loader.ts/#utils","title":"utils","text":""},{"location":"modules/ammo/ammo-loader.ts/#ammoloader-class","title":"AmmoLoader (class)","text":"Signature
export declare class AmmoLoader {\n constructor(protected readonly world: AmmoWorldComponent)\n}\n
"},{"location":"modules/ammo/ammo-utils.ts/","title":"ammo/ammo-utils.ts","text":""},{"location":"modules/ammo/ammo-utils.ts/#ammo-utils-overview","title":"ammo-utils overviewTable of contents","text":""},{"location":"modules/ammo/ammo-utils.ts/#utils","title":"utils","text":""},{"location":"modules/ammo/ammo-utils.ts/#ammoid","title":"ammoId","text":"Signature
export declare const ammoId: (body: any) => number\n
"},{"location":"modules/ammo/types.ts/","title":"ammo/types.ts","text":""},{"location":"modules/ammo/types.ts/#types-overview","title":"types overviewTable of contents","text":" utils AmmoPhysicsTypeDocRepo (type alias) "},{"location":"modules/ammo/types.ts/#utils","title":"utils","text":""},{"location":"modules/ammo/types.ts/#ammophysicstypedocrepo-type-alias","title":"AmmoPhysicsTypeDocRepo (type alias)","text":"Signature
export type AmmoPhysicsTypeDocRepo = {\n factory: AmmoFactory\n loader: AmmoLoader\n rigidBody: AmmoRigidBodyComponent\n trigger: AmmoTriggerComponent\n raycastVehicle: AmmoRaycastVehicleComponent\n}\n
"},{"location":"modules/ammo/components/","title":"Modules","text":"Directory table of contents ammo/components/ammo-body.component.ts ammo/components/ammo-raycast-vehicle.component.ts ammo/components/ammo-rigid-body.component.ts ammo/components/ammo-trigger.component.ts ammo/components/ammo-world.component.ts "},{"location":"modules/ammo/components/ammo-body.component.ts/","title":"ammo/components/ammo-body.component.ts","text":""},{"location":"modules/ammo/components/ammo-body.component.ts/#ammo-bodycomponent-overview","title":"ammo-body.component overviewTable of contents","text":" utils AmmoBodyComponent (class) refreshCG (method) clone (method) addToWorld (method) removeFromWorld (method) dispose (method) name (property) entity (property) addedToWorld (property) _interactWithCGsMask (property) _ownCGsMask (property) "},{"location":"modules/ammo/components/ammo-body.component.ts/#utils","title":"utils","text":""},{"location":"modules/ammo/components/ammo-body.component.ts/#ammobodycomponent-class","title":"AmmoBodyComponent (class)","text":"Signature
export declare class AmmoBodyComponent<T> {\n protected constructor(protected readonly world: AmmoWorldComponent, protected _nativeBody: T)\n}\n
"},{"location":"modules/ammo/components/ammo-body.component.ts/#refreshcg-method","title":"refreshCG (method)","text":"Signature
abstract refreshCG(): void;\n
"},{"location":"modules/ammo/components/ammo-body.component.ts/#clone-method","title":"clone (method)","text":"Signature
abstract clone(): AmmoBodyComponent<T>;\n
"},{"location":"modules/ammo/components/ammo-body.component.ts/#addtoworld-method","title":"addToWorld (method)","text":"Signature
addToWorld(world: Gg3dWorld<VisualTypeDocRepo3D, AmmoPhysicsTypeDocRepo>): void\n
"},{"location":"modules/ammo/components/ammo-body.component.ts/#removefromworld-method","title":"removeFromWorld (method)","text":"Signature
removeFromWorld(world: Gg3dWorld<VisualTypeDocRepo3D, AmmoPhysicsTypeDocRepo>): void\n
"},{"location":"modules/ammo/components/ammo-body.component.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose(): void\n
"},{"location":"modules/ammo/components/ammo-body.component.ts/#name-property","title":"name (property)","text":"Signature
name: string\n
"},{"location":"modules/ammo/components/ammo-body.component.ts/#entity-property","title":"entity (property)","text":"Signature
entity: any\n
"},{"location":"modules/ammo/components/ammo-body.component.ts/#addedtoworld-property","title":"addedToWorld (property)","text":"Signature
addedToWorld: boolean\n
"},{"location":"modules/ammo/components/ammo-body.component.ts/#_interactwithcgsmask-property","title":"_interactWithCGsMask (property)","text":"Signature
_interactWithCGsMask: any\n
"},{"location":"modules/ammo/components/ammo-body.component.ts/#_owncgsmask-property","title":"_ownCGsMask (property)","text":"Signature
_ownCGsMask: any\n
"},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/","title":"ammo/components/ammo-raycast-vehicle.component.ts","text":""},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/#ammo-raycast-vehiclecomponent-overview","title":"ammo-raycast-vehicle.component overviewTable of contents","text":" utils AmmoRaycastVehicleComponent (class) addToWorld (method) addWheel (method) setSteering (method) applyEngineForce (method) applyBrake (method) isWheelTouchesGround (method) getWheelTransform (method) resetSuspension (method) clone (method) nativeVehicle (property) vehicleTuning (property) wheelDirectionCS0 (property) wheelAxleCS (property) entity (property) "},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/#utils","title":"utils","text":""},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/#ammoraycastvehiclecomponent-class","title":"AmmoRaycastVehicleComponent (class)","text":"Signature
export declare class AmmoRaycastVehicleComponent {\n constructor(protected readonly world: AmmoWorldComponent, public chassisBody: AmmoRigidBodyComponent)\n}\n
"},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/#addtoworld-method","title":"addToWorld (method)","text":"Signature
addToWorld(world: Gg3dWorld<VisualTypeDocRepo3D, AmmoPhysicsTypeDocRepo>)\n
"},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/#addwheel-method","title":"addWheel (method)","text":"Signature
addWheel(options: WheelOptions, suspensionOptions: SuspensionOptions): void\n
"},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/#setsteering-method","title":"setSteering (method)","text":"Signature
setSteering(wheelIndex: number, steering: number): void\n
"},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/#applyengineforce-method","title":"applyEngineForce (method)","text":"Signature
applyEngineForce(wheelIndex: number, force: number): void\n
"},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/#applybrake-method","title":"applyBrake (method)","text":"Signature
applyBrake(wheelIndex: number, force: number): void\n
"},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/#iswheeltouchesground-method","title":"isWheelTouchesGround (method)","text":"Signature
isWheelTouchesGround(wheelIndex: number): boolean\n
"},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/#getwheeltransform-method","title":"getWheelTransform (method)","text":"Signature
getWheelTransform(wheelIndex: number): { position: Point3; rotation: Point4 }\n
"},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/#resetsuspension-method","title":"resetSuspension (method)","text":"Signature
resetSuspension(): void\n
"},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/#clone-method","title":"clone (method)","text":"Signature
public clone(): AmmoRaycastVehicleComponent\n
"},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/#nativevehicle-property","title":"nativeVehicle (property)","text":"Signature
readonly nativeVehicle: any\n
"},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/#vehicletuning-property","title":"vehicleTuning (property)","text":"Signature
readonly vehicleTuning: any\n
"},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/#wheeldirectioncs0-property","title":"wheelDirectionCS0 (property)","text":"Signature
readonly wheelDirectionCS0: any\n
"},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/#wheelaxlecs-property","title":"wheelAxleCS (property)","text":"Signature
readonly wheelAxleCS: any\n
"},{"location":"modules/ammo/components/ammo-raycast-vehicle.component.ts/#entity-property","title":"entity (property)","text":"Signature
entity: any\n
"},{"location":"modules/ammo/components/ammo-rigid-body.component.ts/","title":"ammo/components/ammo-rigid-body.component.ts","text":""},{"location":"modules/ammo/components/ammo-rigid-body.component.ts/#ammo-rigid-bodycomponent-overview","title":"ammo-rigid-body.component overviewTable of contents","text":" utils AmmoRigidBodyComponent (class) clone (method) addToWorld (method) removeFromWorld (method) refreshCG (method) resetMotion (method) entity (property) "},{"location":"modules/ammo/components/ammo-rigid-body.component.ts/#utils","title":"utils","text":""},{"location":"modules/ammo/components/ammo-rigid-body.component.ts/#ammorigidbodycomponent-class","title":"AmmoRigidBodyComponent (class)","text":"Signature
export declare class AmmoRigidBodyComponent {\n constructor(protected readonly world: AmmoWorldComponent, protected _nativeBody: Ammo.btRigidBody)\n}\n
"},{"location":"modules/ammo/components/ammo-rigid-body.component.ts/#clone-method","title":"clone (method)","text":"Signature
clone(): AmmoRigidBodyComponent\n
"},{"location":"modules/ammo/components/ammo-rigid-body.component.ts/#addtoworld-method","title":"addToWorld (method)","text":"Signature
addToWorld(world: Gg3dWorld<VisualTypeDocRepo3D, AmmoPhysicsTypeDocRepo>): void\n
"},{"location":"modules/ammo/components/ammo-rigid-body.component.ts/#removefromworld-method","title":"removeFromWorld (method)","text":"Signature
removeFromWorld(world: Gg3dWorld<VisualTypeDocRepo3D, AmmoPhysicsTypeDocRepo>): void\n
"},{"location":"modules/ammo/components/ammo-rigid-body.component.ts/#refreshcg-method","title":"refreshCG (method)","text":"Signature
refreshCG(): void\n
"},{"location":"modules/ammo/components/ammo-rigid-body.component.ts/#resetmotion-method","title":"resetMotion (method)","text":"Signature
resetMotion(): void\n
"},{"location":"modules/ammo/components/ammo-rigid-body.component.ts/#entity-property","title":"entity (property)","text":"Signature
entity: any\n
"},{"location":"modules/ammo/components/ammo-trigger.component.ts/","title":"ammo/components/ammo-trigger.component.ts","text":""},{"location":"modules/ammo/components/ammo-trigger.component.ts/#ammo-triggercomponent-overview","title":"ammo-trigger.component overviewTable of contents","text":" utils AmmoTriggerComponent (class) checkOverlaps (method) clone (method) addToWorld (method) removeFromWorld (method) refreshCG (method) dispose (method) entity (property) onEnter$ (property) onLeft$ (property) overlaps (property) "},{"location":"modules/ammo/components/ammo-trigger.component.ts/#utils","title":"utils","text":""},{"location":"modules/ammo/components/ammo-trigger.component.ts/#ammotriggercomponent-class","title":"AmmoTriggerComponent (class)","text":"Signature
export declare class AmmoTriggerComponent {\n constructor(protected readonly world: AmmoWorldComponent, protected _nativeBody: Ammo.btPairCachingGhostObject)\n}\n
"},{"location":"modules/ammo/components/ammo-trigger.component.ts/#checkoverlaps-method","title":"checkOverlaps (method)","text":"Signature
checkOverlaps(): void\n
"},{"location":"modules/ammo/components/ammo-trigger.component.ts/#clone-method","title":"clone (method)","text":"Signature
clone(): AmmoTriggerComponent\n
"},{"location":"modules/ammo/components/ammo-trigger.component.ts/#addtoworld-method","title":"addToWorld (method)","text":"Signature
addToWorld(world: Gg3dWorld<VisualTypeDocRepo3D, AmmoPhysicsTypeDocRepo>)\n
"},{"location":"modules/ammo/components/ammo-trigger.component.ts/#removefromworld-method","title":"removeFromWorld (method)","text":"Signature
removeFromWorld(world: Gg3dWorld<VisualTypeDocRepo3D, AmmoPhysicsTypeDocRepo>): void\n
"},{"location":"modules/ammo/components/ammo-trigger.component.ts/#refreshcg-method","title":"refreshCG (method)","text":"Signature
refreshCG(): void\n
"},{"location":"modules/ammo/components/ammo-trigger.component.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose(): void\n
"},{"location":"modules/ammo/components/ammo-trigger.component.ts/#entity-property","title":"entity (property)","text":"Signature
entity: any\n
"},{"location":"modules/ammo/components/ammo-trigger.component.ts/#onenter-property","title":"onEnter$ (property)","text":"Signature
readonly onEnter$: any\n
"},{"location":"modules/ammo/components/ammo-trigger.component.ts/#onleft-property","title":"onLeft$ (property)","text":"Signature
readonly onLeft$: any\n
"},{"location":"modules/ammo/components/ammo-trigger.component.ts/#overlaps-property","title":"overlaps (property)","text":"Signature
readonly overlaps: any\n
"},{"location":"modules/ammo/components/ammo-world.component.ts/","title":"ammo/components/ammo-world.component.ts","text":""},{"location":"modules/ammo/components/ammo-world.component.ts/#ammo-worldcomponent-overview","title":"ammo-world.component overviewTable of contents","text":" utils AmmoWorldComponent (class) init (method) simulate (method) registerCollisionGroup (method) deregisterCollisionGroup (method) startDebugger (method) stopDebugger (method) dispose (method) _dynamicAmmoWorld (property) lockedCollisionGroups (property) "},{"location":"modules/ammo/components/ammo-world.component.ts/#utils","title":"utils","text":""},{"location":"modules/ammo/components/ammo-world.component.ts/#ammoworldcomponent-class","title":"AmmoWorldComponent (class)","text":"Signature
export declare class AmmoWorldComponent\n
"},{"location":"modules/ammo/components/ammo-world.component.ts/#init-method","title":"init (method)","text":"Signature
async init(): Promise<void>\n
"},{"location":"modules/ammo/components/ammo-world.component.ts/#simulate-method","title":"simulate (method)","text":"Signature
simulate(delta: number): void\n
"},{"location":"modules/ammo/components/ammo-world.component.ts/#registercollisiongroup-method","title":"registerCollisionGroup (method)","text":"Signature
registerCollisionGroup(): CollisionGroup\n
"},{"location":"modules/ammo/components/ammo-world.component.ts/#deregistercollisiongroup-method","title":"deregisterCollisionGroup (method)","text":"Signature
deregisterCollisionGroup(group: CollisionGroup): void\n
"},{"location":"modules/ammo/components/ammo-world.component.ts/#startdebugger-method","title":"startDebugger (method)","text":"Signature
startDebugger(\n world: Gg3dWorld<VisualTypeDocRepo3D, AmmoPhysicsTypeDocRepo>,\n drawer: IDebugPhysicsDrawer<Point3, Point4>,\n ): void\n
"},{"location":"modules/ammo/components/ammo-world.component.ts/#stopdebugger-method","title":"stopDebugger (method)","text":"Signature
stopDebugger(world: Gg3dWorld<VisualTypeDocRepo3D, AmmoPhysicsTypeDocRepo>): void\n
"},{"location":"modules/ammo/components/ammo-world.component.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose(): void\n
"},{"location":"modules/ammo/components/ammo-world.component.ts/#_dynamicammoworld-property","title":"_dynamicAmmoWorld (property)","text":"Signature
_dynamicAmmoWorld: any\n
"},{"location":"modules/ammo/components/ammo-world.component.ts/#lockedcollisiongroups-property","title":"lockedCollisionGroups (property)","text":"Signature
lockedCollisionGroups: number[]\n
"},{"location":"modules/core/","title":"Modules","text":"Directory table of contents core/2d core/3d core/base core/dev "},{"location":"modules/core/2d/","title":"Modules","text":"Directory table of contents core/2d/components core/2d/entities core/2d/factories.ts core/2d/gg-2d-world.ts core/2d/index.ts core/2d/interfaces core/2d/models "},{"location":"modules/core/2d/factories.ts/","title":"core/2d/factories.ts","text":""},{"location":"modules/core/2d/factories.ts/#factories-overview","title":"factories overviewTable of contents","text":" utils DisplayObject2dOpts (type alias) IDisplayObject2dComponentFactory (class) createPrimitive (method) randomColor (method) createSquare (method) createCircle (method) IPhysicsBody2dComponentFactory (interface) "},{"location":"modules/core/2d/factories.ts/#utils","title":"utils","text":""},{"location":"modules/core/2d/factories.ts/#displayobject2dopts-type-alias","title":"DisplayObject2dOpts (type alias)","text":"Signature
export type DisplayObject2dOpts<Tex> = {\n color?: number\n texture?: Tex\n}\n
"},{"location":"modules/core/2d/factories.ts/#idisplayobject2dcomponentfactory-class","title":"IDisplayObject2dComponentFactory (class)","text":"Signature
export declare class IDisplayObject2dComponentFactory<TypeDoc>\n
"},{"location":"modules/core/2d/factories.ts/#createprimitive-method","title":"createPrimitive (method)","text":"Signature
abstract createPrimitive(\n descriptor: Shape2DDescriptor,\n material?: DisplayObject2dOpts<TypeDoc['texture']>,\n ): TypeDoc['displayObject'];\n
"},{"location":"modules/core/2d/factories.ts/#randomcolor-method","title":"randomColor (method)","text":"Signature
randomColor(): number\n
"},{"location":"modules/core/2d/factories.ts/#createsquare-method","title":"createSquare (method)","text":"Signature
createSquare(dimensions: Point2, material: DisplayObject2dOpts<TypeDoc['texture']> = {}): TypeDoc['displayObject']\n
"},{"location":"modules/core/2d/factories.ts/#createcircle-method","title":"createCircle (method)","text":"Signature
createCircle(radius: number, material: DisplayObject2dOpts<TypeDoc['texture']> = {}): TypeDoc['displayObject']\n
"},{"location":"modules/core/2d/factories.ts/#iphysicsbody2dcomponentfactory-interface","title":"IPhysicsBody2dComponentFactory (interface)","text":"Signature
export interface IPhysicsBody2dComponentFactory<TypeDoc extends PhysicsTypeDocRepo2D = PhysicsTypeDocRepo2D> {\n createRigidBody(\n descriptor: BodyShape2DDescriptor,\n transform?: {\n position?: Point2\n rotation?: number\n }\n ): TypeDoc['rigidBody']\n\n createTrigger(\n descriptor: Shape2DDescriptor,\n transform?: {\n position?: Point2\n rotation?: number\n }\n ): TypeDoc['trigger']\n}\n
"},{"location":"modules/core/2d/gg-2d-world.ts/","title":"core/2d/gg-2d-world.ts","text":""},{"location":"modules/core/2d/gg-2d-world.ts/#gg-2d-world-overview","title":"gg-2d-world overviewTable of contents","text":" utils Gg2dWorld (class) addPrimitiveRigidBody (method) addRenderer (method) PhysicsTypeDocRepo2D (type alias) VisualTypeDocRepo2D (type alias) "},{"location":"modules/core/2d/gg-2d-world.ts/#utils","title":"utils","text":""},{"location":"modules/core/2d/gg-2d-world.ts/#gg2dworld-class","title":"Gg2dWorld (class)","text":"Signature
export declare class Gg2dWorld<VTypeDoc, PTypeDoc, VS, PW> {\n constructor(public readonly visualScene: VS, public readonly physicsWorld: PW)\n}\n
"},{"location":"modules/core/2d/gg-2d-world.ts/#addprimitiverigidbody-method","title":"addPrimitiveRigidBody (method)","text":"Signature
addPrimitiveRigidBody(\n descr: BodyShape2DDescriptor,\n position: Point2 = Pnt2.O,\n rotation: number = 0,\n material: DisplayObject2dOpts<VTypeDoc['texture']> = {},\n ): Entity2d<VTypeDoc, PTypeDoc>\n
"},{"location":"modules/core/2d/gg-2d-world.ts/#addrenderer-method","title":"addRenderer (method)","text":"Signature
addRenderer(canvas?: HTMLCanvasElement, rendererOptions?: Partial<RendererOptions>): Renderer2dEntity<VTypeDoc>\n
"},{"location":"modules/core/2d/gg-2d-world.ts/#physicstypedocrepo2d-type-alias","title":"PhysicsTypeDocRepo2D (type alias)","text":"Signature
export type PhysicsTypeDocRepo2D = {\n factory: IPhysicsBody2dComponentFactory\n rigidBody: IRigidBody2dComponent\n trigger: ITrigger2dComponent\n}\n
"},{"location":"modules/core/2d/gg-2d-world.ts/#visualtypedocrepo2d-type-alias","title":"VisualTypeDocRepo2D (type alias)","text":"Signature
export type VisualTypeDocRepo2D = {\n factory: IDisplayObject2dComponentFactory\n displayObject: IDisplayObject2dComponent\n renderer: IRenderer2dComponent\n texture: unknown\n}\n
"},{"location":"modules/core/2d/index.ts/","title":"core/2d/index.ts","text":""},{"location":"modules/core/2d/index.ts/#index-overview","title":"index overviewTable of contents","text":""},{"location":"modules/core/2d/components/","title":"Modules","text":"Directory table of contents core/2d/components/physics core/2d/components/rendering "},{"location":"modules/core/2d/components/physics/","title":"Modules","text":"Directory table of contents core/2d/components/physics/i-physics-world-2d.component.ts core/2d/components/physics/i-rigid-body-2d.component.ts core/2d/components/physics/i-trigger-2d.component.ts "},{"location":"modules/core/2d/components/physics/i-physics-world-2d.component.ts/","title":"core/2d/components/physics/i-physics-world-2d.component.ts","text":""},{"location":"modules/core/2d/components/physics/i-physics-world-2d.component.ts/#i-physics-world-2dcomponent-overview","title":"i-physics-world-2d.component overviewTable of contents","text":" utils IPhysicsWorld2dComponent (interface) "},{"location":"modules/core/2d/components/physics/i-physics-world-2d.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/2d/components/physics/i-physics-world-2d.component.ts/#iphysicsworld2dcomponent-interface","title":"IPhysicsWorld2dComponent (interface)","text":"Signature
export interface IPhysicsWorld2dComponent<TypeDoc extends PhysicsTypeDocRepo2D = PhysicsTypeDocRepo2D>\n extends IPhysicsWorldComponent<Point2, number, TypeDoc> {}\n
"},{"location":"modules/core/2d/components/physics/i-rigid-body-2d.component.ts/","title":"core/2d/components/physics/i-rigid-body-2d.component.ts","text":""},{"location":"modules/core/2d/components/physics/i-rigid-body-2d.component.ts/#i-rigid-body-2dcomponent-overview","title":"i-rigid-body-2d.component overviewTable of contents","text":" utils IRigidBody2dComponent (interface) "},{"location":"modules/core/2d/components/physics/i-rigid-body-2d.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/2d/components/physics/i-rigid-body-2d.component.ts/#irigidbody2dcomponent-interface","title":"IRigidBody2dComponent (interface)","text":"Signature
export interface IRigidBody2dComponent<TypeDoc extends PhysicsTypeDocRepo2D = PhysicsTypeDocRepo2D>\n extends IRigidBodyComponent<Point2, number, TypeDoc> {\n angularVelocity: number\n}\n
"},{"location":"modules/core/2d/components/physics/i-trigger-2d.component.ts/","title":"core/2d/components/physics/i-trigger-2d.component.ts","text":""},{"location":"modules/core/2d/components/physics/i-trigger-2d.component.ts/#i-trigger-2dcomponent-overview","title":"i-trigger-2d.component overviewTable of contents","text":" utils ITrigger2dComponent (interface) "},{"location":"modules/core/2d/components/physics/i-trigger-2d.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/2d/components/physics/i-trigger-2d.component.ts/#itrigger2dcomponent-interface","title":"ITrigger2dComponent (interface)","text":"Signature
export interface ITrigger2dComponent<TypeDoc extends PhysicsTypeDocRepo2D = PhysicsTypeDocRepo2D>\n extends ITriggerComponent<Point2, number, TypeDoc> {\n
"},{"location":"modules/core/2d/components/rendering/","title":"Modules","text":"Directory table of contents core/2d/components/rendering/i-display-object-2d.component.ts core/2d/components/rendering/i-renderer-2d.component.ts core/2d/components/rendering/i-visual-scene-2d.component.ts "},{"location":"modules/core/2d/components/rendering/i-display-object-2d.component.ts/","title":"core/2d/components/rendering/i-display-object-2d.component.ts","text":""},{"location":"modules/core/2d/components/rendering/i-display-object-2d.component.ts/#i-display-object-2dcomponent-overview","title":"i-display-object-2d.component overviewTable of contents","text":" utils IDisplayObject2dComponent (interface) "},{"location":"modules/core/2d/components/rendering/i-display-object-2d.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/2d/components/rendering/i-display-object-2d.component.ts/#idisplayobject2dcomponent-interface","title":"IDisplayObject2dComponent (interface)","text":"Signature
export interface IDisplayObject2dComponent<TypeDoc extends VisualTypeDocRepo2D = VisualTypeDocRepo2D>\n extends IDisplayObjectComponent<Point2, number, TypeDoc> {}\n
"},{"location":"modules/core/2d/components/rendering/i-renderer-2d.component.ts/","title":"core/2d/components/rendering/i-renderer-2d.component.ts","text":""},{"location":"modules/core/2d/components/rendering/i-renderer-2d.component.ts/#i-renderer-2dcomponent-overview","title":"i-renderer-2d.component overviewTable of contents","text":" utils IRenderer2dComponent (class) "},{"location":"modules/core/2d/components/rendering/i-renderer-2d.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/2d/components/rendering/i-renderer-2d.component.ts/#irenderer2dcomponent-class","title":"IRenderer2dComponent (class)","text":"Signature
export declare class IRenderer2dComponent<TypeDoc>\n
"},{"location":"modules/core/2d/components/rendering/i-visual-scene-2d.component.ts/","title":"core/2d/components/rendering/i-visual-scene-2d.component.ts","text":""},{"location":"modules/core/2d/components/rendering/i-visual-scene-2d.component.ts/#i-visual-scene-2dcomponent-overview","title":"i-visual-scene-2d.component overviewTable of contents","text":" utils IVisualScene2dComponent (interface) "},{"location":"modules/core/2d/components/rendering/i-visual-scene-2d.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/2d/components/rendering/i-visual-scene-2d.component.ts/#ivisualscene2dcomponent-interface","title":"IVisualScene2dComponent (interface)","text":"Signature
export interface IVisualScene2dComponent<TypeDoc extends VisualTypeDocRepo2D = VisualTypeDocRepo2D>\n extends IVisualSceneComponent<Point2, number, TypeDoc> {\n createRenderer(canvas?: HTMLCanvasElement, rendererOptions?: Partial<RendererOptions>): TypeDoc['renderer']\n}\n
"},{"location":"modules/core/2d/entities/","title":"Modules","text":"Directory table of contents core/2d/entities/controllers core/2d/entities/entity-2d.ts core/2d/entities/i-renderable-2d.entity.ts core/2d/entities/renderer-2d.entity.ts core/2d/entities/trigger-2d.entity.ts "},{"location":"modules/core/2d/entities/entity-2d.ts/","title":"core/2d/entities/entity-2d.ts","text":""},{"location":"modules/core/2d/entities/entity-2d.ts/#entity-2d-overview","title":"entity-2d overviewTable of contents","text":" utils Entity2d (class) updateVisibility (method) runTransformBinding (method) tickOrder (property) "},{"location":"modules/core/2d/entities/entity-2d.ts/#utils","title":"utils","text":""},{"location":"modules/core/2d/entities/entity-2d.ts/#entity2d-class","title":"Entity2d (class)","text":"Signature
export declare class Entity2d<VTypeDoc, PTypeDoc> {\n constructor(\n public readonly object2D: VTypeDoc['displayObject'] | null,\n public readonly objectBody: PTypeDoc['rigidBody'] | null\n )\n}\n
"},{"location":"modules/core/2d/entities/entity-2d.ts/#updatevisibility-method","title":"updateVisibility (method)","text":"Signature
public updateVisibility(): void\n
"},{"location":"modules/core/2d/entities/entity-2d.ts/#runtransformbinding-method","title":"runTransformBinding (method)","text":"Synchronize physics body transform with entity (and object2d if defined)
Signature
protected runTransformBinding(objectBody: PTypeDoc['rigidBody'], object2D: VTypeDoc['displayObject'] | null): void\n
"},{"location":"modules/core/2d/entities/entity-2d.ts/#tickorder-property","title":"tickOrder (property)","text":"Signature
readonly tickOrder: TickOrder.OBJECTS_BINDING\n
"},{"location":"modules/core/2d/entities/i-renderable-2d.entity.ts/","title":"core/2d/entities/i-renderable-2d.entity.ts","text":""},{"location":"modules/core/2d/entities/i-renderable-2d.entity.ts/#i-renderable-2dentity-overview","title":"i-renderable-2d.entity overviewTable of contents","text":" utils IRenderable2dEntity (class) "},{"location":"modules/core/2d/entities/i-renderable-2d.entity.ts/#utils","title":"utils","text":""},{"location":"modules/core/2d/entities/i-renderable-2d.entity.ts/#irenderable2dentity-class","title":"IRenderable2dEntity (class)","text":"Signature
export declare class IRenderable2dEntity<TypeDoc, PTypeDoc>\n
"},{"location":"modules/core/2d/entities/renderer-2d.entity.ts/","title":"core/2d/entities/renderer-2d.entity.ts","text":""},{"location":"modules/core/2d/entities/renderer-2d.entity.ts/#renderer-2dentity-overview","title":"renderer-2d.entity overviewTable of contents","text":" utils Renderer2dEntity (class) "},{"location":"modules/core/2d/entities/renderer-2d.entity.ts/#utils","title":"utils","text":""},{"location":"modules/core/2d/entities/renderer-2d.entity.ts/#renderer2dentity-class","title":"Renderer2dEntity (class)","text":"Signature
export declare class Renderer2dEntity<TypeDoc>\n
"},{"location":"modules/core/2d/entities/trigger-2d.entity.ts/","title":"core/2d/entities/trigger-2d.entity.ts","text":""},{"location":"modules/core/2d/entities/trigger-2d.entity.ts/#trigger-2dentity-overview","title":"trigger-2d.entity overviewTable of contents","text":" utils Trigger2dEntity (class) "},{"location":"modules/core/2d/entities/trigger-2d.entity.ts/#utils","title":"utils","text":""},{"location":"modules/core/2d/entities/trigger-2d.entity.ts/#trigger2dentity-class","title":"Trigger2dEntity (class)","text":"Signature
export declare class Trigger2dEntity<TypeDoc> {\n constructor(public readonly objectBody: ITrigger2dComponent)\n}\n
"},{"location":"modules/core/2d/entities/trigger-2d.entity.ts/#tickorder-property","title":"tickOrder (property)","text":"Signature
readonly tickOrder: TickOrder.OBJECTS_BINDING\n
"},{"location":"modules/core/2d/entities/controllers/","title":"Modules","text":"Directory table of contents core/2d/entities/controllers/entity-2d-positioning.animator.ts "},{"location":"modules/core/2d/entities/controllers/entity-2d-positioning.animator.ts/","title":"core/2d/entities/controllers/entity-2d-positioning.animator.ts","text":""},{"location":"modules/core/2d/entities/controllers/entity-2d-positioning.animator.ts/#entity-2d-positioninganimator-overview","title":"entity-2d-positioning.animator overviewTable of contents","text":" utils Entity2dPositioningAnimator (class) onSpawned (method) applyPositioning (method) "},{"location":"modules/core/2d/entities/controllers/entity-2d-positioning.animator.ts/#utils","title":"utils","text":""},{"location":"modules/core/2d/entities/controllers/entity-2d-positioning.animator.ts/#entity2dpositioninganimator-class","title":"Entity2dPositioningAnimator (class)","text":"Signature
export declare class Entity2dPositioningAnimator<T> {\n constructor(public entity: T, protected _animationFunction: AnimationFunction<Positioning2d>)\n}\n
"},{"location":"modules/core/2d/entities/controllers/entity-2d-positioning.animator.ts/#onspawned-method","title":"onSpawned (method)","text":"Signature
onSpawned(world: Gg2dWorld)\n
"},{"location":"modules/core/2d/entities/controllers/entity-2d-positioning.animator.ts/#applypositioning-method","title":"applyPositioning (method)","text":"Signature
protected applyPositioning(value: Positioning2d)\n
"},{"location":"modules/core/2d/interfaces/","title":"Modules","text":"Directory table of contents core/2d/interfaces/i-positionable-2d.ts "},{"location":"modules/core/2d/interfaces/i-positionable-2d.ts/","title":"core/2d/interfaces/i-positionable-2d.ts","text":""},{"location":"modules/core/2d/interfaces/i-positionable-2d.ts/#i-positionable-2d-overview","title":"i-positionable-2d overviewTable of contents","text":" utils IPositionable2d (interface) "},{"location":"modules/core/2d/interfaces/i-positionable-2d.ts/#utils","title":"utils","text":""},{"location":"modules/core/2d/interfaces/i-positionable-2d.ts/#ipositionable2d-interface","title":"IPositionable2d (interface)","text":"Signature
export interface IPositionable2d extends IPositionable<Point2, number> {}\n
"},{"location":"modules/core/2d/models/","title":"Modules","text":"Directory table of contents core/2d/models/body-options.ts core/2d/models/shapes.ts "},{"location":"modules/core/2d/models/body-options.ts/","title":"core/2d/models/body-options.ts","text":""},{"location":"modules/core/2d/models/body-options.ts/#body-options-overview","title":"body-options overviewTable of contents","text":" utils Body2DOptions (interface) "},{"location":"modules/core/2d/models/body-options.ts/#utils","title":"utils","text":""},{"location":"modules/core/2d/models/body-options.ts/#body2doptions-interface","title":"Body2DOptions (interface)","text":"Signature
export interface Body2DOptions extends BodyOptions {}\n
"},{"location":"modules/core/2d/models/shapes.ts/","title":"core/2d/models/shapes.ts","text":""},{"location":"modules/core/2d/models/shapes.ts/#shapes-overview","title":"shapes overviewTable of contents","text":" utils BodyShape2DDescriptor (type alias) Shape2DDescriptor (type alias) "},{"location":"modules/core/2d/models/shapes.ts/#utils","title":"utils","text":""},{"location":"modules/core/2d/models/shapes.ts/#bodyshape2ddescriptor-type-alias","title":"BodyShape2DDescriptor (type alias)","text":"Signature
export type BodyShape2DDescriptor = { shape: Shape2DDescriptor; body: Partial<Body2DOptions> }\n
"},{"location":"modules/core/2d/models/shapes.ts/#shape2ddescriptor-type-alias","title":"Shape2DDescriptor (type alias)","text":"Signature
export type Shape2DDescriptor = { shape: 'SQUARE'; dimensions: Point2 } | { shape: 'CIRCLE'; radius: number }\n
"},{"location":"modules/core/3d/","title":"Modules","text":"Directory table of contents core/3d/components core/3d/entities core/3d/factories.ts core/3d/gg-3d-world.ts core/3d/index.ts core/3d/interfaces core/3d/loader.ts core/3d/loaders.ts core/3d/models "},{"location":"modules/core/3d/factories.ts/","title":"core/3d/factories.ts","text":""},{"location":"modules/core/3d/factories.ts/#factories-overview","title":"factories overviewTable of contents","text":" utils DisplayObject3dOpts (type alias) IDisplayObject3dComponentFactory (class) createPrimitive (method) createPerspectiveCamera (method) randomColor (method) createPlane (method) createBox (method) createCapsule (method) createCylinder (method) createCone (method) createSphere (method) IPhysicsBody3dComponentFactory (interface) "},{"location":"modules/core/3d/factories.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/factories.ts/#displayobject3dopts-type-alias","title":"DisplayObject3dOpts (type alias)","text":"Signature
export type DisplayObject3dOpts<Tex> = {\n color?: number\n shading?: 'unlit' | 'standart' | 'phong'\n diffuse?: Tex\n castShadow?: boolean\n receiveShadow?: boolean\n}\n
"},{"location":"modules/core/3d/factories.ts/#idisplayobject3dcomponentfactory-class","title":"IDisplayObject3dComponentFactory (class)","text":"Signature
export declare class IDisplayObject3dComponentFactory<TypeDoc>\n
"},{"location":"modules/core/3d/factories.ts/#createprimitive-method","title":"createPrimitive (method)","text":"Signature
abstract createPrimitive(\n descriptor: Shape3DDescriptor,\n material?: DisplayObject3dOpts<TypeDoc['texture']>,\n ): TypeDoc['displayObject'];\n
"},{"location":"modules/core/3d/factories.ts/#createperspectivecamera-method","title":"createPerspectiveCamera (method)","text":"Signature
abstract createPerspectiveCamera(settings: {\n fov?: number;\n aspectRatio?: number;\n frustrum?: { near: number; far: number };\n }): TypeDoc['camera'];\n
"},{"location":"modules/core/3d/factories.ts/#randomcolor-method","title":"randomColor (method)","text":"Signature
randomColor(): number\n
"},{"location":"modules/core/3d/factories.ts/#createplane-method","title":"createPlane (method)","text":"Signature
createPlane(material: DisplayObject3dOpts<TypeDoc['texture']> = {}): TypeDoc['displayObject']\n
"},{"location":"modules/core/3d/factories.ts/#createbox-method","title":"createBox (method)","text":"Signature
createBox(dimensions: Point3, material: DisplayObject3dOpts<TypeDoc['texture']> = {}): TypeDoc['displayObject']\n
"},{"location":"modules/core/3d/factories.ts/#createcapsule-method","title":"createCapsule (method)","text":"Signature
createCapsule(\n radius: number,\n centersDistance: number,\n material: DisplayObject3dOpts<TypeDoc['texture']> = {},\n ): TypeDoc['displayObject']\n
"},{"location":"modules/core/3d/factories.ts/#createcylinder-method","title":"createCylinder (method)","text":"Signature
createCylinder(\n radius: number,\n height: number,\n material: DisplayObject3dOpts<TypeDoc['texture']> = {},\n ): TypeDoc['displayObject']\n
"},{"location":"modules/core/3d/factories.ts/#createcone-method","title":"createCone (method)","text":"Signature
createCone(\n radius: number,\n height: number,\n material: DisplayObject3dOpts<TypeDoc['texture']> = {},\n ): TypeDoc['displayObject']\n
"},{"location":"modules/core/3d/factories.ts/#createsphere-method","title":"createSphere (method)","text":"Signature
createSphere(radius: number, material: DisplayObject3dOpts<TypeDoc['texture']> = {}): TypeDoc['displayObject']\n
"},{"location":"modules/core/3d/factories.ts/#iphysicsbody3dcomponentfactory-interface","title":"IPhysicsBody3dComponentFactory (interface)","text":"Signature
export interface IPhysicsBody3dComponentFactory<TypeDoc extends PhysicsTypeDocRepo3D = PhysicsTypeDocRepo3D> {\n createRigidBody(\n descriptor: BodyShape3DDescriptor,\n transform?: {\n position?: Point3\n rotation?: Point4\n }\n ): TypeDoc['rigidBody']\n\n createTrigger(\n descriptor: Shape3DDescriptor,\n transform?: {\n position?: Point3\n rotation?: Point4\n }\n ): TypeDoc['trigger']\n\n createRaycastVehicle(chassis: TypeDoc['rigidBody']): TypeDoc['raycastVehicle']\n}\n
"},{"location":"modules/core/3d/gg-3d-world.ts/","title":"core/3d/gg-3d-world.ts","text":""},{"location":"modules/core/3d/gg-3d-world.ts/#gg-3d-world-overview","title":"gg-3d-world overviewTable of contents","text":" utils Gg3dWorld (class) addPrimitiveRigidBody (method) addRenderer (method) loader (property) PhysicsTypeDocRepo3D (type alias) VisualTypeDocRepo3D (type alias) "},{"location":"modules/core/3d/gg-3d-world.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/gg-3d-world.ts/#gg3dworld-class","title":"Gg3dWorld (class)","text":"Signature
export declare class Gg3dWorld<VTypeDoc, PTypeDoc, VS, PW> {\n constructor(public readonly visualScene: VS, public readonly physicsWorld: PW)\n}\n
"},{"location":"modules/core/3d/gg-3d-world.ts/#addprimitiverigidbody-method","title":"addPrimitiveRigidBody (method)","text":"Signature
addPrimitiveRigidBody(\n descr: BodyShape3DDescriptor,\n position: Point3 = Pnt3.O,\n rotation: Point4 = Qtrn.O,\n material: DisplayObject3dOpts<VTypeDoc['texture']> = {},\n ): Entity3d<VTypeDoc, PTypeDoc>\n
"},{"location":"modules/core/3d/gg-3d-world.ts/#addrenderer-method","title":"addRenderer (method)","text":"Signature
addRenderer(\n camera: VTypeDoc['camera'],\n canvas?: HTMLCanvasElement,\n rendererOptions?: Partial<RendererOptions>,\n ): Renderer3dEntity<VTypeDoc>\n
"},{"location":"modules/core/3d/gg-3d-world.ts/#loader-property","title":"loader (property)","text":"Signature
readonly loader: Gg3dLoader<VTypeDoc, PTypeDoc>\n
"},{"location":"modules/core/3d/gg-3d-world.ts/#physicstypedocrepo3d-type-alias","title":"PhysicsTypeDocRepo3D (type alias)","text":"Signature
export type PhysicsTypeDocRepo3D = {\n factory: IPhysicsBody3dComponentFactory\n loader: IPhysicsBody3dComponentLoader\n rigidBody: IRigidBody3dComponent\n trigger: ITrigger3dComponent\n raycastVehicle: IRaycastVehicleComponent\n}\n
"},{"location":"modules/core/3d/gg-3d-world.ts/#visualtypedocrepo3d-type-alias","title":"VisualTypeDocRepo3D (type alias)","text":"Signature
export type VisualTypeDocRepo3D = {\n factory: IDisplayObject3dComponentFactory\n loader: IDisplayObject3dComponentLoader\n displayObject: IDisplayObject3dComponent\n renderer: IRenderer3dComponent\n camera: ICameraComponent\n texture: unknown\n}\n
"},{"location":"modules/core/3d/index.ts/","title":"core/3d/index.ts","text":""},{"location":"modules/core/3d/index.ts/#index-overview","title":"index overviewTable of contents","text":""},{"location":"modules/core/3d/loader.ts/","title":"core/3d/loader.ts","text":""},{"location":"modules/core/3d/loader.ts/#loader-overview","title":"loader overviewTable of contents","text":" utils Gg3dLoader (class) loadGgGlbFiles (method) loadGgGlbResources (method) loadGgGlb (method) filesCache (property) loadResultCache (property) LoadOptions (type alias) LoadResourcesResult (type alias) LoadResult (type alias) LoadResultWithProps (type alias) "},{"location":"modules/core/3d/loader.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/loader.ts/#gg3dloader-class","title":"Gg3dLoader (class)","text":"Signature
export declare class Gg3dLoader<VTypeDoc, PTypeDoc> {\n constructor(protected readonly world: Gg3dWorld)\n}\n
"},{"location":"modules/core/3d/loader.ts/#loadggglbfiles-method","title":"loadGgGlbFiles (method)","text":"Signature
public async loadGgGlbFiles(path: string, useCache: boolean = false): Promise<[ArrayBuffer, GgMeta]>\n
"},{"location":"modules/core/3d/loader.ts/#loadggglbresources-method","title":"loadGgGlbResources (method)","text":"Signature
public async loadGgGlbResources(\n path: string,\n cachingStrategy: CachingStrategy = CachingStrategy.Nothing,\n ): Promise<LoadResourcesResult<VTypeDoc, PTypeDoc>>\n
"},{"location":"modules/core/3d/loader.ts/#loadggglb-method","title":"loadGgGlb (method)","text":"Signature
public async loadGgGlb(\n path: string,\n options: Partial<LoadOptions> = defaultLoadOptions,\n ): Promise<LoadResultWithProps<VTypeDoc, PTypeDoc>>\n
"},{"location":"modules/core/3d/loader.ts/#filescache-property","title":"filesCache (property)","text":"Signature
readonly filesCache: any\n
"},{"location":"modules/core/3d/loader.ts/#loadresultcache-property","title":"loadResultCache (property)","text":"Signature
readonly loadResultCache: any\n
"},{"location":"modules/core/3d/loader.ts/#loadoptions-type-alias","title":"LoadOptions (type alias)","text":"Signature
export type LoadOptions = {\n // whether to cache anything\n // \"Nothing\" does not cache anything\n // \"Files\" caches GLB+Meta file contents\n // \"Entities\" clones and saves parsed from GLB+Meta objects and bodies\n cachingStrategy: CachingStrategy\n // initial position\n position: Point3\n // initial rotation\n rotation: Point4\n // process dummies with flag is_prop\n loadProps: boolean\n // path where to find prop scenes\n propsPath?: string\n}\n
"},{"location":"modules/core/3d/loader.ts/#loadresourcesresult-type-alias","title":"LoadResourcesResult (type alias)","text":"Signature
export type LoadResourcesResult<\n VTypeDoc extends VisualTypeDocRepo3D = VisualTypeDocRepo3D,\n PTypeDoc extends PhysicsTypeDocRepo3D = PhysicsTypeDocRepo3D\n> = {\n resources: { object3D: VTypeDoc['displayObject'] | null; body: PTypeDoc['rigidBody'] | null }[]\n meta: GgMeta\n}\n
"},{"location":"modules/core/3d/loader.ts/#loadresult-type-alias","title":"LoadResult (type alias)","text":"Signature
export type LoadResult<\n VTypeDoc extends VisualTypeDocRepo3D = VisualTypeDocRepo3D,\n PTypeDoc extends PhysicsTypeDocRepo3D = PhysicsTypeDocRepo3D\n> = {\n entities: Entity3d<VTypeDoc, PTypeDoc>[]\n meta: GgMeta\n}\n
"},{"location":"modules/core/3d/loader.ts/#loadresultwithprops-type-alias","title":"LoadResultWithProps (type alias)","text":"Signature
export type LoadResultWithProps<\n VTypeDoc extends VisualTypeDocRepo3D = VisualTypeDocRepo3D,\n PTypeDoc extends PhysicsTypeDocRepo3D = PhysicsTypeDocRepo3D\n> = LoadResult<VTypeDoc, PTypeDoc> & { props?: LoadResult<VTypeDoc, PTypeDoc>[] }\n
"},{"location":"modules/core/3d/loaders.ts/","title":"core/3d/loaders.ts","text":""},{"location":"modules/core/3d/loaders.ts/#loaders-overview","title":"loaders overviewTable of contents","text":" utils IDisplayObject3dComponentLoader (interface) IPhysicsBody3dComponentLoader (class) "},{"location":"modules/core/3d/loaders.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/loaders.ts/#idisplayobject3dcomponentloader-interface","title":"IDisplayObject3dComponentLoader (interface)","text":"Signature
export interface IDisplayObject3dComponentLoader<TypeDoc extends VisualTypeDocRepo3D = VisualTypeDocRepo3D> {\n loadFromGgGlb(glbFile: ArrayBuffer, meta: GgMeta): Promise<TypeDoc['displayObject'] | null>\n}\n
"},{"location":"modules/core/3d/loaders.ts/#iphysicsbody3dcomponentloader-class","title":"IPhysicsBody3dComponentLoader (class)","text":"Signature
export declare class IPhysicsBody3dComponentLoader<TypeDoc> {\n protected constructor(protected readonly world: IPhysicsWorld3dComponent)\n}\n
"},{"location":"modules/core/3d/loaders.ts/#loadfromggglb-method","title":"loadFromGgGlb (method)","text":"Signature
async loadFromGgGlb(glbFile: ArrayBuffer, meta: GgMeta): Promise<TypeDoc['rigidBody'][]>\n
"},{"location":"modules/core/3d/components/","title":"Modules","text":"Directory table of contents core/3d/components/physics core/3d/components/rendering "},{"location":"modules/core/3d/components/physics/","title":"Modules","text":"Directory table of contents core/3d/components/physics/i-physics-world-3d.component.ts core/3d/components/physics/i-raycast-vehicle.component.ts core/3d/components/physics/i-rigid-body-3d.component.ts core/3d/components/physics/i-trigger-3d.component.ts "},{"location":"modules/core/3d/components/physics/i-physics-world-3d.component.ts/","title":"core/3d/components/physics/i-physics-world-3d.component.ts","text":""},{"location":"modules/core/3d/components/physics/i-physics-world-3d.component.ts/#i-physics-world-3dcomponent-overview","title":"i-physics-world-3d.component overviewTable of contents","text":" utils IPhysicsWorld3dComponent (interface) "},{"location":"modules/core/3d/components/physics/i-physics-world-3d.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/components/physics/i-physics-world-3d.component.ts/#iphysicsworld3dcomponent-interface","title":"IPhysicsWorld3dComponent (interface)","text":"Signature
export interface IPhysicsWorld3dComponent<TypeDoc extends PhysicsTypeDocRepo3D = PhysicsTypeDocRepo3D>\n extends IPhysicsWorldComponent<Point3, Point4, TypeDoc> {\n readonly loader: TypeDoc['loader']\n}\n
"},{"location":"modules/core/3d/components/physics/i-raycast-vehicle.component.ts/","title":"core/3d/components/physics/i-raycast-vehicle.component.ts","text":""},{"location":"modules/core/3d/components/physics/i-raycast-vehicle.component.ts/#i-raycast-vehiclecomponent-overview","title":"i-raycast-vehicle.component overviewTable of contents","text":" utils IRaycastVehicleComponent (interface) SuspensionOptions (type alias) WheelOptions (type alias) "},{"location":"modules/core/3d/components/physics/i-raycast-vehicle.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/components/physics/i-raycast-vehicle.component.ts/#iraycastvehiclecomponent-interface","title":"IRaycastVehicleComponent (interface)","text":"Signature
export interface IRaycastVehicleComponent<TypeDoc extends PhysicsTypeDocRepo3D = PhysicsTypeDocRepo3D>\n extends IRigidBody3dComponent<TypeDoc> {\n
"},{"location":"modules/core/3d/components/physics/i-raycast-vehicle.component.ts/#suspensionoptions-type-alias","title":"SuspensionOptions (type alias)","text":"Signature
export type SuspensionOptions = {\n stiffness: number\n damping: number\n compression: number\n restLength: number\n}\n
"},{"location":"modules/core/3d/components/physics/i-raycast-vehicle.component.ts/#wheeloptions-type-alias","title":"WheelOptions (type alias)","text":"Signature
export type WheelOptions = {\n isLeft: boolean\n isFront: boolean\n tyreWidth: number\n tyreRadius: number\n position: Point3\n frictionSlip: number // friction with road\n rollInfluence: number\n maxTravel: number\n}\n
"},{"location":"modules/core/3d/components/physics/i-rigid-body-3d.component.ts/","title":"core/3d/components/physics/i-rigid-body-3d.component.ts","text":""},{"location":"modules/core/3d/components/physics/i-rigid-body-3d.component.ts/#i-rigid-body-3dcomponent-overview","title":"i-rigid-body-3d.component overviewTable of contents","text":" utils IRigidBody3dComponent (interface) "},{"location":"modules/core/3d/components/physics/i-rigid-body-3d.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/components/physics/i-rigid-body-3d.component.ts/#irigidbody3dcomponent-interface","title":"IRigidBody3dComponent (interface)","text":"Signature
export interface IRigidBody3dComponent<TypeDoc extends PhysicsTypeDocRepo3D = PhysicsTypeDocRepo3D>\n extends IRigidBodyComponent<Point3, Point4, TypeDoc> {\n angularVelocity: Point3\n}\n
"},{"location":"modules/core/3d/components/physics/i-trigger-3d.component.ts/","title":"core/3d/components/physics/i-trigger-3d.component.ts","text":""},{"location":"modules/core/3d/components/physics/i-trigger-3d.component.ts/#i-trigger-3dcomponent-overview","title":"i-trigger-3d.component overviewTable of contents","text":" utils ITrigger3dComponent (interface) "},{"location":"modules/core/3d/components/physics/i-trigger-3d.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/components/physics/i-trigger-3d.component.ts/#itrigger3dcomponent-interface","title":"ITrigger3dComponent (interface)","text":"Signature
export interface ITrigger3dComponent<TypeDoc extends PhysicsTypeDocRepo3D = PhysicsTypeDocRepo3D>\n extends ITriggerComponent<Point3, Point4, TypeDoc> {\n
"},{"location":"modules/core/3d/components/rendering/","title":"Modules","text":"Directory table of contents core/3d/components/rendering/i-camera.component.ts core/3d/components/rendering/i-display-object-3d.component.ts core/3d/components/rendering/i-renderer-3d.component.ts core/3d/components/rendering/i-visual-scene-3d.component.ts "},{"location":"modules/core/3d/components/rendering/i-camera.component.ts/","title":"core/3d/components/rendering/i-camera.component.ts","text":""},{"location":"modules/core/3d/components/rendering/i-camera.component.ts/#i-cameracomponent-overview","title":"i-camera.component overviewTable of contents","text":" utils ICameraComponent (interface) "},{"location":"modules/core/3d/components/rendering/i-camera.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/components/rendering/i-camera.component.ts/#icameracomponent-interface","title":"ICameraComponent (interface)","text":"Signature
export interface ICameraComponent<TypeDoc extends VisualTypeDocRepo3D = VisualTypeDocRepo3D>\n extends IDisplayObject3dComponent<TypeDoc> {\n
"},{"location":"modules/core/3d/components/rendering/i-display-object-3d.component.ts/","title":"core/3d/components/rendering/i-display-object-3d.component.ts","text":""},{"location":"modules/core/3d/components/rendering/i-display-object-3d.component.ts/#i-display-object-3dcomponent-overview","title":"i-display-object-3d.component overviewTable of contents","text":" utils IDisplayObject3dComponent (interface) "},{"location":"modules/core/3d/components/rendering/i-display-object-3d.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/components/rendering/i-display-object-3d.component.ts/#idisplayobject3dcomponent-interface","title":"IDisplayObject3dComponent (interface)","text":"Signature
export interface IDisplayObject3dComponent<TypeDoc extends VisualTypeDocRepo3D = VisualTypeDocRepo3D>\n extends IDisplayObjectComponent<Point3, Point4, TypeDoc> {}\n
"},{"location":"modules/core/3d/components/rendering/i-renderer-3d.component.ts/","title":"core/3d/components/rendering/i-renderer-3d.component.ts","text":""},{"location":"modules/core/3d/components/rendering/i-renderer-3d.component.ts/#i-renderer-3dcomponent-overview","title":"i-renderer-3d.component overviewTable of contents","text":" utils IRenderer3dComponent (class) "},{"location":"modules/core/3d/components/rendering/i-renderer-3d.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/components/rendering/i-renderer-3d.component.ts/#irenderer3dcomponent-class","title":"IRenderer3dComponent (class)","text":"Signature
export declare class IRenderer3dComponent<TypeDoc>\n
"},{"location":"modules/core/3d/components/rendering/i-renderer-3d.component.ts/#camera-property","title":"camera (property)","text":"Signature
camera: TypeDoc['camera']\n
"},{"location":"modules/core/3d/components/rendering/i-visual-scene-3d.component.ts/","title":"core/3d/components/rendering/i-visual-scene-3d.component.ts","text":""},{"location":"modules/core/3d/components/rendering/i-visual-scene-3d.component.ts/#i-visual-scene-3dcomponent-overview","title":"i-visual-scene-3d.component overviewTable of contents","text":" utils IVisualScene3dComponent (interface) "},{"location":"modules/core/3d/components/rendering/i-visual-scene-3d.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/components/rendering/i-visual-scene-3d.component.ts/#ivisualscene3dcomponent-interface","title":"IVisualScene3dComponent (interface)","text":"Signature
export interface IVisualScene3dComponent<TypeDoc extends VisualTypeDocRepo3D = VisualTypeDocRepo3D>\n extends IVisualSceneComponent<Point3, Point4, TypeDoc> {\n readonly loader: TypeDoc['loader']\n\n createRenderer(\n camera: TypeDoc['camera'],\n canvas?: HTMLCanvasElement,\n rendererOptions?: Partial<RendererOptions>\n ): TypeDoc['renderer']\n}\n
"},{"location":"modules/core/3d/entities/","title":"Modules","text":"Directory table of contents core/3d/entities/controllers core/3d/entities/entity-3d.ts core/3d/entities/gg-car core/3d/entities/i-renderable-3d.entity.ts core/3d/entities/map-graph-3d.entity.ts core/3d/entities/raycast-vehicle-3d.entity.ts core/3d/entities/renderer-3d.entity.ts core/3d/entities/trigger-3d.entity.ts "},{"location":"modules/core/3d/entities/entity-3d.ts/","title":"core/3d/entities/entity-3d.ts","text":""},{"location":"modules/core/3d/entities/entity-3d.ts/#entity-3d-overview","title":"entity-3d overviewTable of contents","text":" utils Entity3d (class) updateVisibility (method) runTransformBinding (method) tickOrder (property) "},{"location":"modules/core/3d/entities/entity-3d.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/entities/entity-3d.ts/#entity3d-class","title":"Entity3d (class)","text":"Signature
export declare class Entity3d<VTypeDoc, PTypeDoc> {\n constructor(\n public readonly object3D: VTypeDoc['displayObject'] | null,\n public readonly objectBody: PTypeDoc['rigidBody'] | null = null\n )\n}\n
"},{"location":"modules/core/3d/entities/entity-3d.ts/#updatevisibility-method","title":"updateVisibility (method)","text":"Signature
public updateVisibility(): void\n
"},{"location":"modules/core/3d/entities/entity-3d.ts/#runtransformbinding-method","title":"runTransformBinding (method)","text":"Synchronize physics body transform with entity (and mesh if defined)
Signature
protected runTransformBinding(objectBody: IRigidBody3dComponent, object3D: IDisplayObject3dComponent | null): void\n
"},{"location":"modules/core/3d/entities/entity-3d.ts/#tickorder-property","title":"tickOrder (property)","text":"Signature
readonly tickOrder: TickOrder.OBJECTS_BINDING\n
"},{"location":"modules/core/3d/entities/i-renderable-3d.entity.ts/","title":"core/3d/entities/i-renderable-3d.entity.ts","text":""},{"location":"modules/core/3d/entities/i-renderable-3d.entity.ts/#i-renderable-3dentity-overview","title":"i-renderable-3d.entity overviewTable of contents","text":" utils IRenderable3dEntity (class) "},{"location":"modules/core/3d/entities/i-renderable-3d.entity.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/entities/i-renderable-3d.entity.ts/#irenderable3dentity-class","title":"IRenderable3dEntity (class)","text":"Signature
export declare class IRenderable3dEntity<TypeDoc, PTypeDoc>\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/","title":"core/3d/entities/map-graph-3d.entity.ts","text":""},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#map-graph-3dentity-overview","title":"map-graph-3d.entity overviewTable of contents","text":" utils Gg3dMapGraphEntityOptions (type alias) MapGraph (class) fromMapArray (static method) fromMapSquareGrid (static method) getNearestDummy (method) nodes (method) MapGraph3dEntity (class) onSpawned (method) onRemoved (method) loadChunk (method) disposeChunk (method) tickOrder (property) loaderCursorEntity$ (property) loaded (property) _chunkLoaded$ (property) _world (property) mapGraphNodes (property) options (property) MapGraphNodeType (type alias) "},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#gg3dmapgraphentityoptions-type-alias","title":"Gg3dMapGraphEntityOptions (type alias)","text":"Signature
export type Gg3dMapGraphEntityOptions = {\n // depth in tree to load. 0 means load only the nearest node, 1 means nearest + all of it's neighbours etc.\n loadDepth: number\n // additional depth, means unload delay. Nodes with this depth won't load, but if already loaded, will not be destroyed\n inertia: number\n}\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#mapgraph-class","title":"MapGraph (class)","text":"Signature
export declare class MapGraph\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#frommaparray-static-method","title":"fromMapArray (static method)","text":"Creates a new MapGraph instance from an array of elements, where each element in the array is a node in the graph. The first element of the array is used as the root node of the graph.
Signature
static fromMapArray(array: MapGraphNodeType[], closed: boolean = false): MapGraph\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#frommapsquaregrid-static-method","title":"fromMapSquareGrid (static method)","text":"Creates a new MapGraph instance from a two-dimensional square grid of elements, where each element in the grid is a node in the graph. The top-left element of the grid is used as the root node of the graph. The nodes in the graph are created in the same order as the elements in the grid, from left to right and then from top to bottom.
Signature
static fromMapSquareGrid(grid: MapGraphNodeType[][]): MapGraph\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#getnearestdummy-method","title":"getNearestDummy (method)","text":"Signature
public getNearestDummy(thisNodes: Graph<MapGraphNodeType>[], cursor: Point3): Graph<MapGraphNodeType>\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#nodes-method","title":"nodes (method)","text":"Signature
nodes(): MapGraph[]\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#mapgraph3dentity-class","title":"MapGraph3dEntity (class)","text":"Signature
export declare class MapGraph3dEntity<VTypeDoc, PTypeDoc> {\n constructor(public readonly mapGraph: MapGraph, options: Partial<Gg3dMapGraphEntityOptions> = {})\n}\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#onspawned-method","title":"onSpawned (method)","text":"Signature
onSpawned(world: Gg3dWorld<VTypeDoc, PTypeDoc>)\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#onremoved-method","title":"onRemoved (method)","text":"Signature
onRemoved()\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#loadchunk-method","title":"loadChunk (method)","text":"Signature
protected async loadChunk(\n node: MapGraphNodeType,\n ): Promise<[Entity3d<VTypeDoc, PTypeDoc>[], LoadResultWithProps<VTypeDoc, PTypeDoc>]>\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#disposechunk-method","title":"disposeChunk (method)","text":"Signature
protected disposeChunk(node: MapGraphNodeType)\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#tickorder-property","title":"tickOrder (property)","text":"Signature
readonly tickOrder: TickOrder.POST_RENDERING\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#loadercursorentity-property","title":"loaderCursorEntity$ (property)","text":"Signature
readonly loaderCursorEntity$: any\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#loaded-property","title":"loaded (property)","text":"Signature
readonly loaded: any\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#_chunkloaded-property","title":"_chunkLoaded$ (property)","text":"Signature
_chunkLoaded$: any\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#_world-property","title":"_world (property)","text":"Signature
_world: Gg3dWorld<VTypeDoc, PTypeDoc, IVisualScene3dComponent<VTypeDoc>, IPhysicsWorld3dComponent<PTypeDoc>> | null\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#mapgraphnodes-property","title":"mapGraphNodes (property)","text":"Signature
readonly mapGraphNodes: MapGraph[]\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#options-property","title":"options (property)","text":"Signature
readonly options: Gg3dMapGraphEntityOptions\n
"},{"location":"modules/core/3d/entities/map-graph-3d.entity.ts/#mapgraphnodetype-type-alias","title":"MapGraphNodeType (type alias)","text":"Signature
export type MapGraphNodeType = {\n path: string\n position: Point3\n rotation?: Point4\n loadOptions: Partial<Omit<LoadOptions, 'position' | 'rotation'>>\n}\n
"},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/","title":"core/3d/entities/raycast-vehicle-3d.entity.ts","text":""},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#raycast-vehicle-3dentity-overview","title":"raycast-vehicle-3d.entity overviewTable of contents","text":" utils RVEntityAxleOptions (type alias) RVEntityProperties (type alias) RVEntitySharedWheelOptions (type alias) RaycastVehicle3dEntity (class) getSpeed (method) applyTractionForce (method) applyBrake (method) runTransformBinding (method) resetTo (method) wheels (property) wheelLocalRotation (property) frontWheelsIndices (property) rearWheelsIndices (property) tractionWheelIndices (property) tractionWheelRadius (property) WheelDisplayOptions (type alias) "},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#rventityaxleoptions-type-alias","title":"RVEntityAxleOptions (type alias)","text":"Signature
export type RVEntityAxleOptions = {\n halfAxleWidth: number\n axlePosition: number\n axleHeight: number\n} & RVEntitySharedWheelOptions\n
"},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#rventityproperties-type-alias","title":"RVEntityProperties (type alias)","text":"Signature
export type RVEntityProperties = {\n typeOfDrive: 'RWD' | 'FWD' | '4WD'\n suspension: SuspensionOptions\n} & (\n | {\n wheelBase: {\n shared: RVEntitySharedWheelOptions\n front: RVEntityAxleOptions\n rear: RVEntityAxleOptions\n }\n }\n | {\n wheelOptions: (RVEntitySharedWheelOptions & {\n isLeft: boolean\n isFront: boolean\n position: Point3\n })[]\n sharedWheelOptions?: RVEntitySharedWheelOptions\n }\n)\n
"},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#rventitysharedwheeloptions-type-alias","title":"RVEntitySharedWheelOptions (type alias)","text":"Signature
export type RVEntitySharedWheelOptions = {\n tyreWidth?: number\n tyreRadius?: number\n frictionSlip?: number\n rollInfluence?: number\n maxTravel?: number\n display?: WheelDisplayOptions\n}\n
"},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#raycastvehicle3dentity-class","title":"RaycastVehicle3dEntity (class)","text":"Signature
export declare class RaycastVehicle3dEntity<VTypeDoc, PTypeDoc> {\n constructor(\n public readonly carProperties: RVEntityProperties,\n public readonly chassis3D: IDisplayObject3dComponent | null,\n public readonly chassisBody: IRaycastVehicleComponent\n )\n}\n
"},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#getspeed-method","title":"getSpeed (method)","text":"Signature
public getSpeed(): number\n
"},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#applytractionforce-method","title":"applyTractionForce (method)","text":"Signature
public applyTractionForce(force: number)\n
"},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#applybrake-method","title":"applyBrake (method)","text":"Signature
public applyBrake(axle: 'front' | 'rear' | 'both', force: number)\n
"},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#runtransformbinding-method","title":"runTransformBinding (method)","text":"Signature
protected runTransformBinding(objectBody: IRigidBody3dComponent, object3D: IDisplayObject3dComponent): void\n
"},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#resetto-method","title":"resetTo (method)","text":"Signature
public resetTo(\n options: {\n position?: Point3;\n rotation?: Point4;\n } = {},\n )\n
"},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#wheels-property","title":"wheels (property)","text":"Signature
readonly wheels: (Entity3d<VTypeDoc, PTypeDoc> | null)[]\n
"},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#wheellocalrotation-property","title":"wheelLocalRotation (property)","text":"Signature
readonly wheelLocalRotation: (Point4 | null)[]\n
"},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#frontwheelsindices-property","title":"frontWheelsIndices (property)","text":"Signature
readonly frontWheelsIndices: number[]\n
"},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#rearwheelsindices-property","title":"rearWheelsIndices (property)","text":"Signature
readonly rearWheelsIndices: number[]\n
"},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#tractionwheelindices-property","title":"tractionWheelIndices (property)","text":"Signature
readonly tractionWheelIndices: number[]\n
"},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#tractionwheelradius-property","title":"tractionWheelRadius (property)","text":"Signature
readonly tractionWheelRadius: number\n
"},{"location":"modules/core/3d/entities/raycast-vehicle-3d.entity.ts/#wheeldisplayoptions-type-alias","title":"WheelDisplayOptions (type alias)","text":"Signature
export type WheelDisplayOptions = {\n displayObject?: IDisplayObject3dComponent\n wheelObjectDirection?: AxisDirection3\n autoScaleMesh?: boolean\n}\n
"},{"location":"modules/core/3d/entities/renderer-3d.entity.ts/","title":"core/3d/entities/renderer-3d.entity.ts","text":""},{"location":"modules/core/3d/entities/renderer-3d.entity.ts/#renderer-3dentity-overview","title":"renderer-3d.entity overviewTable of contents","text":" utils Renderer3dEntity (class) "},{"location":"modules/core/3d/entities/renderer-3d.entity.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/entities/renderer-3d.entity.ts/#renderer3dentity-class","title":"Renderer3dEntity (class)","text":"Signature
export declare class Renderer3dEntity<TypeDoc>\n
"},{"location":"modules/core/3d/entities/trigger-3d.entity.ts/","title":"core/3d/entities/trigger-3d.entity.ts","text":""},{"location":"modules/core/3d/entities/trigger-3d.entity.ts/#trigger-3dentity-overview","title":"trigger-3d.entity overviewTable of contents","text":" utils Trigger3dEntity (class) "},{"location":"modules/core/3d/entities/trigger-3d.entity.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/entities/trigger-3d.entity.ts/#trigger3dentity-class","title":"Trigger3dEntity (class)","text":"Signature
export declare class Trigger3dEntity<TypeDoc> {\n constructor(public readonly objectBody: ITrigger3dComponent)\n}\n
"},{"location":"modules/core/3d/entities/trigger-3d.entity.ts/#tickorder-property","title":"tickOrder (property)","text":"Signature
readonly tickOrder: TickOrder.OBJECTS_BINDING\n
"},{"location":"modules/core/3d/entities/controllers/","title":"Modules","text":"Directory table of contents core/3d/entities/controllers/animators core/3d/entities/controllers/input "},{"location":"modules/core/3d/entities/controllers/animators/","title":"Modules","text":"Directory table of contents core/3d/entities/controllers/animators/camera-3d.animator.ts core/3d/entities/controllers/animators/entity-3d-positioning.animator.ts "},{"location":"modules/core/3d/entities/controllers/animators/camera-3d.animator.ts/","title":"core/3d/entities/controllers/animators/camera-3d.animator.ts","text":""},{"location":"modules/core/3d/entities/controllers/animators/camera-3d.animator.ts/#camera-3danimator-overview","title":"camera-3d.animator overviewTable of contents","text":" utils Camera3dAnimationArgs (type alias) Camera3dAnimator (class) onSpawned (method) applyPositioning (method) "},{"location":"modules/core/3d/entities/controllers/animators/camera-3d.animator.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/entities/controllers/animators/camera-3d.animator.ts/#camera3danimationargs-type-alias","title":"Camera3dAnimationArgs (type alias)","text":"Signature
export type Camera3dAnimationArgs = {\n position: Point3\n target: Point3\n up?: Point3\n fov?: number\n}\n
"},{"location":"modules/core/3d/entities/controllers/animators/camera-3d.animator.ts/#camera3danimator-class","title":"Camera3dAnimator (class)","text":"Signature
export declare class Camera3dAnimator<VTypeDoc> {\n constructor(\n public entity: Renderer3dEntity<VTypeDoc>,\n protected _animationFunction: AnimationFunction<Camera3dAnimationArgs>\n )\n}\n
"},{"location":"modules/core/3d/entities/controllers/animators/camera-3d.animator.ts/#onspawned-method","title":"onSpawned (method)","text":"Signature
onSpawned(world: Gg3dWorld<VTypeDoc>)\n
"},{"location":"modules/core/3d/entities/controllers/animators/camera-3d.animator.ts/#applypositioning-method","title":"applyPositioning (method)","text":"Signature
protected applyPositioning(value: Camera3dAnimationArgs)\n
"},{"location":"modules/core/3d/entities/controllers/animators/entity-3d-positioning.animator.ts/","title":"core/3d/entities/controllers/animators/entity-3d-positioning.animator.ts","text":""},{"location":"modules/core/3d/entities/controllers/animators/entity-3d-positioning.animator.ts/#entity-3d-positioninganimator-overview","title":"entity-3d-positioning.animator overviewTable of contents","text":" utils Entity3dPositioningAnimator (class) onSpawned (method) applyPositioning (method) "},{"location":"modules/core/3d/entities/controllers/animators/entity-3d-positioning.animator.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/entities/controllers/animators/entity-3d-positioning.animator.ts/#entity3dpositioninganimator-class","title":"Entity3dPositioningAnimator (class)","text":"Signature
export declare class Entity3dPositioningAnimator<T> {\n constructor(public entity: T, protected _animationFunction: AnimationFunction<Positioning3d>)\n}\n
"},{"location":"modules/core/3d/entities/controllers/animators/entity-3d-positioning.animator.ts/#onspawned-method","title":"onSpawned (method)","text":"Signature
onSpawned(world: Gg3dWorld)\n
"},{"location":"modules/core/3d/entities/controllers/animators/entity-3d-positioning.animator.ts/#applypositioning-method","title":"applyPositioning (method)","text":"Signature
protected applyPositioning(value: Positioning3d)\n
"},{"location":"modules/core/3d/entities/controllers/input/","title":"Modules","text":"Directory table of contents core/3d/entities/controllers/input/car-keyboard-handling.controller.ts core/3d/entities/controllers/input/free-camera.controller.ts core/3d/entities/controllers/input/gg-car-keyboard-handling.controller.ts core/3d/entities/controllers/input/orbit-camera.controller.ts "},{"location":"modules/core/3d/entities/controllers/input/car-keyboard-handling.controller.ts/","title":"core/3d/entities/controllers/input/car-keyboard-handling.controller.ts","text":""},{"location":"modules/core/3d/entities/controllers/input/car-keyboard-handling.controller.ts/#car-keyboard-handlingcontroller-overview","title":"car-keyboard-handling.controller overviewTable of contents","text":" utils CarHandlingOutput (type alias) CarKeyboardControllerOptions (type alias) CarKeyboardHandlingController (class) onSpawned (method) onRemoved (method) tickOrder (property) directionsInput (property) "},{"location":"modules/core/3d/entities/controllers/input/car-keyboard-handling.controller.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/entities/controllers/input/car-keyboard-handling.controller.ts/#carhandlingoutput-type-alias","title":"CarHandlingOutput (type alias)","text":"Signature
export type CarHandlingOutput = { upDown: number; leftRight: number }\n
"},{"location":"modules/core/3d/entities/controllers/input/car-keyboard-handling.controller.ts/#carkeyboardcontrolleroptions-type-alias","title":"CarKeyboardControllerOptions (type alias)","text":"Signature
export type CarKeyboardControllerOptions = {\n readonly keymap: DirectionKeyboardKeymap\n readonly maxSteerDeltaPerSecond: number\n}\n
"},{"location":"modules/core/3d/entities/controllers/input/car-keyboard-handling.controller.ts/#carkeyboardhandlingcontroller-class","title":"CarKeyboardHandlingController (class)","text":"Signature
export declare class CarKeyboardHandlingController {\n constructor(\n protected readonly keyboard: KeyboardInput,\n protected readonly options: CarKeyboardControllerOptions = {\n keymap: 'arrows',\n maxSteerDeltaPerSecond: 12,\n }\n )\n}\n
"},{"location":"modules/core/3d/entities/controllers/input/car-keyboard-handling.controller.ts/#onspawned-method","title":"onSpawned (method)","text":"Signature
async onSpawned(world: GgWorld<any, any>): Promise<void>\n
"},{"location":"modules/core/3d/entities/controllers/input/car-keyboard-handling.controller.ts/#onremoved-method","title":"onRemoved (method)","text":"Signature
async onRemoved(): Promise<void>\n
"},{"location":"modules/core/3d/entities/controllers/input/car-keyboard-handling.controller.ts/#tickorder-property","title":"tickOrder (property)","text":"Signature
readonly tickOrder: TickOrder.INPUT_CONTROLLERS\n
"},{"location":"modules/core/3d/entities/controllers/input/car-keyboard-handling.controller.ts/#directionsinput-property","title":"directionsInput (property)","text":"Signature
readonly directionsInput: DirectionKeyboardInput\n
"},{"location":"modules/core/3d/entities/controllers/input/free-camera.controller.ts/","title":"core/3d/entities/controllers/input/free-camera.controller.ts","text":""},{"location":"modules/core/3d/entities/controllers/input/free-camera.controller.ts/#free-cameracontroller-overview","title":"free-camera.controller overviewTable of contents","text":" utils FreeCameraController (class) onSpawned (method) onRemoved (method) tickOrder (property) mouseInput (property) directionsInput (property) FreeCameraControllerOptions (type alias) "},{"location":"modules/core/3d/entities/controllers/input/free-camera.controller.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/entities/controllers/input/free-camera.controller.ts/#freecameracontroller-class","title":"FreeCameraController (class)","text":"A controller for a free-moving camera.
Signature
export declare class FreeCameraController {\n constructor(\n protected readonly keyboard: KeyboardInput,\n protected readonly camera: Renderer3dEntity,\n protected readonly options: FreeCameraControllerOptions = {\n keymap: 'wasd',\n movementOptions: { speed: 0.5 },\n mouseOptions: {},\n ignoreMouseUnlessPointerLocked: false,\n ignoreKeyboardUnlessPointerLocked: false,\n }\n )\n}\n
"},{"location":"modules/core/3d/entities/controllers/input/free-camera.controller.ts/#onspawned-method","title":"onSpawned (method)","text":"Signature
async onSpawned(world: GgWorld<any, any>): Promise<void>\n
"},{"location":"modules/core/3d/entities/controllers/input/free-camera.controller.ts/#onremoved-method","title":"onRemoved (method)","text":"Signature
async onRemoved(): Promise<void>\n
"},{"location":"modules/core/3d/entities/controllers/input/free-camera.controller.ts/#tickorder-property","title":"tickOrder (property)","text":"Signature
readonly tickOrder: TickOrder.INPUT_CONTROLLERS\n
"},{"location":"modules/core/3d/entities/controllers/input/free-camera.controller.ts/#mouseinput-property","title":"mouseInput (property)","text":"The mouse input controller used for camera rotation.
Signature
readonly mouseInput: MouseInput\n
"},{"location":"modules/core/3d/entities/controllers/input/free-camera.controller.ts/#directionsinput-property","title":"directionsInput (property)","text":"The keyboard input controller used for camera movement.
Signature
readonly directionsInput: DirectionKeyboardInput\n
"},{"location":"modules/core/3d/entities/controllers/input/free-camera.controller.ts/#freecameracontrolleroptions-type-alias","title":"FreeCameraControllerOptions (type alias)","text":"Options for configuring a FreeCameraInput controller.
Signature
export type FreeCameraControllerOptions = {\n /**\n * A keymap for controlling camera movement, where each key corresponds to a movement direction.\n */\n keymap: DirectionKeyboardKeymap\n /**\n * Options for configuring camera movement.\n */\n movementOptions: {\n /**\n * The speed of camera movement.\n */\n speed: number\n }\n /**\n * Flag to ignore cursor movement if pointer was not locked. By default false\n */\n ignoreMouseUnlessPointerLocked: boolean\n /**\n * Flag to ignore keyboard events if pointer was not locked. By default false\n */\n ignoreKeyboardUnlessPointerLocked: boolean\n /**\n * Options for configuring mouse input.\n */\n mouseOptions: Partial<MouseInputOptions>\n}\n
"},{"location":"modules/core/3d/entities/controllers/input/gg-car-keyboard-handling.controller.ts/","title":"core/3d/entities/controllers/input/gg-car-keyboard-handling.controller.ts","text":""},{"location":"modules/core/3d/entities/controllers/input/gg-car-keyboard-handling.controller.ts/#gg-car-keyboard-handlingcontroller-overview","title":"gg-car-keyboard-handling.controller overviewTable of contents","text":" utils GgCarKeyboardControllerOptions (type alias) GgCarKeyboardHandlingController (class) onSpawned (method) tickOrder (property) carHandlingInput (property) switchingGearsEnabled (property) "},{"location":"modules/core/3d/entities/controllers/input/gg-car-keyboard-handling.controller.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/entities/controllers/input/gg-car-keyboard-handling.controller.ts/#ggcarkeyboardcontrolleroptions-type-alias","title":"GgCarKeyboardControllerOptions (type alias)","text":"Signature
export type GgCarKeyboardControllerOptions = CarKeyboardControllerOptions & {\n gearUpDownKeys: [string, string]\n autoReverse: boolean\n handbrakeKey: string\n}\n
"},{"location":"modules/core/3d/entities/controllers/input/gg-car-keyboard-handling.controller.ts/#ggcarkeyboardhandlingcontroller-class","title":"GgCarKeyboardHandlingController (class)","text":"Signature
export declare class GgCarKeyboardHandlingController {\n constructor(\n protected readonly keyboard: KeyboardInput,\n public car: GgCarEntity | null,\n protected readonly options: GgCarKeyboardControllerOptions = {\n keymap: 'arrows',\n maxSteerDeltaPerSecond: 12,\n gearUpDownKeys: ['KeyA', 'KeyZ'],\n autoReverse: true,\n handbrakeKey: 'Space',\n }\n )\n}\n
"},{"location":"modules/core/3d/entities/controllers/input/gg-car-keyboard-handling.controller.ts/#onspawned-method","title":"onSpawned (method)","text":"Signature
async onSpawned(world: GgWorld<any, any>): Promise<void>\n
"},{"location":"modules/core/3d/entities/controllers/input/gg-car-keyboard-handling.controller.ts/#tickorder-property","title":"tickOrder (property)","text":"Signature
readonly tickOrder: TickOrder.INPUT_CONTROLLERS\n
"},{"location":"modules/core/3d/entities/controllers/input/gg-car-keyboard-handling.controller.ts/#carhandlinginput-property","title":"carHandlingInput (property)","text":"Signature
readonly carHandlingInput: CarKeyboardHandlingController\n
"},{"location":"modules/core/3d/entities/controllers/input/gg-car-keyboard-handling.controller.ts/#switchinggearsenabled-property","title":"switchingGearsEnabled (property)","text":"Signature
switchingGearsEnabled: boolean\n
"},{"location":"modules/core/3d/entities/controllers/input/orbit-camera.controller.ts/","title":"core/3d/entities/controllers/input/orbit-camera.controller.ts","text":""},{"location":"modules/core/3d/entities/controllers/input/orbit-camera.controller.ts/#orbit-cameracontroller-overview","title":"orbit-camera.controller overviewTable of contents","text":" utils OrbitCameraController (class) onSpawned (method) onRemoved (method) tickOrder (property) options (property) mouseInput (property) spherical (property) target (property) OrbitCameraControllerOptions (type alias) "},{"location":"modules/core/3d/entities/controllers/input/orbit-camera.controller.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/entities/controllers/input/orbit-camera.controller.ts/#orbitcameracontroller-class","title":"OrbitCameraController (class)","text":"Signature
export declare class OrbitCameraController {\n constructor(protected readonly camera: Renderer3dEntity, options: Partial<OrbitCameraControllerOptions> = {})\n}\n
"},{"location":"modules/core/3d/entities/controllers/input/orbit-camera.controller.ts/#onspawned-method","title":"onSpawned (method)","text":"Signature
async onSpawned(world: GgWorld<any, any>): Promise<void>\n
"},{"location":"modules/core/3d/entities/controllers/input/orbit-camera.controller.ts/#onremoved-method","title":"onRemoved (method)","text":"Signature
async onRemoved(): Promise<void>\n
"},{"location":"modules/core/3d/entities/controllers/input/orbit-camera.controller.ts/#tickorder-property","title":"tickOrder (property)","text":"Signature
readonly tickOrder: TickOrder.INPUT_CONTROLLERS\n
"},{"location":"modules/core/3d/entities/controllers/input/orbit-camera.controller.ts/#options-property","title":"options (property)","text":"Signature
readonly options: OrbitCameraControllerOptions\n
"},{"location":"modules/core/3d/entities/controllers/input/orbit-camera.controller.ts/#mouseinput-property","title":"mouseInput (property)","text":"Signature
readonly mouseInput: MouseInput\n
"},{"location":"modules/core/3d/entities/controllers/input/orbit-camera.controller.ts/#spherical-property","title":"spherical (property)","text":"Signature
spherical: MutableSpherical\n
"},{"location":"modules/core/3d/entities/controllers/input/orbit-camera.controller.ts/#target-property","title":"target (property)","text":"Signature
target: Point3\n
"},{"location":"modules/core/3d/entities/controllers/input/orbit-camera.controller.ts/#orbitcameracontrolleroptions-type-alias","title":"OrbitCameraControllerOptions (type alias)","text":"Signature
export type OrbitCameraControllerOptions = {\n mouseOptions: Partial<MouseInputOptions>\n orbiting: { sensitivityX: number; sensitivityY: number } | false\n zooming: { sensitivity: number } | false\n panning: { sensitivityX: number; sensitivityY: number } | false\n dollying: { sensitivity: number } | false\n}\n
"},{"location":"modules/core/3d/entities/gg-car/","title":"Modules","text":"Directory table of contents core/3d/entities/gg-car/gg-car.entity.ts "},{"location":"modules/core/3d/entities/gg-car/gg-car.entity.ts/","title":"core/3d/entities/gg-car/gg-car.entity.ts","text":""},{"location":"modules/core/3d/entities/gg-car/gg-car.entity.ts/#gg-carentity-overview","title":"gg-car.entity overviewTable of contents","text":" utils GgCarEntity (class) calculateRpmFromCarSpeed (method) setTailLightsOn (method) createRaycastVehicle (method) onSpawned (method) updateEngine (method) resetTo (method) tickOrder (property) _rpm$ (property) _acceleration$ (property) _brake$ (property) handBrake$ (property) raycastVehicle (property) GgCarProperties (type alias) "},{"location":"modules/core/3d/entities/gg-car/gg-car.entity.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/entities/gg-car/gg-car.entity.ts/#ggcarentity-class","title":"GgCarEntity (class)","text":"Signature
export declare class GgCarEntity<VTypeDoc, PTypeDoc, RVEntity> {\n constructor(\n public readonly carProperties: GgCarProperties,\n chassis3D: VTypeDoc['displayObject'] | null,\n chassisBody: PTypeDoc['raycastVehicle']\n )\n}\n
"},{"location":"modules/core/3d/entities/gg-car/gg-car.entity.ts/#calculaterpmfromcarspeed-method","title":"calculateRpmFromCarSpeed (method)","text":"Signature
public calculateRpmFromCarSpeed(): number\n
"},{"location":"modules/core/3d/entities/gg-car/gg-car.entity.ts/#settaillightson-method","title":"setTailLightsOn (method)","text":"Signature
protected setTailLightsOn(value: boolean)\n
"},{"location":"modules/core/3d/entities/gg-car/gg-car.entity.ts/#createraycastvehicle-method","title":"createRaycastVehicle (method)","text":"Signature
protected createRaycastVehicle(\n carProperties: GgCarProperties,\n chassis3D: VTypeDoc['displayObject'] | null,\n chassisBody: PTypeDoc['raycastVehicle'],\n ): RVEntity\n
"},{"location":"modules/core/3d/entities/gg-car/gg-car.entity.ts/#onspawned-method","title":"onSpawned (method)","text":"Signature
onSpawned(world: Gg3dWorld<VTypeDoc, PTypeDoc>)\n
"},{"location":"modules/core/3d/entities/gg-car/gg-car.entity.ts/#updateengine-method","title":"updateEngine (method)","text":"Signature
protected updateEngine(delta: number)\n
"},{"location":"modules/core/3d/entities/gg-car/gg-car.entity.ts/#resetto-method","title":"resetTo (method)","text":"Signature
public resetTo(\n options: {\n position?: Point3;\n rotation?: Point4;\n } = {},\n )\n
"},{"location":"modules/core/3d/entities/gg-car/gg-car.entity.ts/#tickorder-property","title":"tickOrder (property)","text":"Signature
readonly tickOrder: number\n
"},{"location":"modules/core/3d/entities/gg-car/gg-car.entity.ts/#_rpm-property","title":"_rpm$ (property)","text":"Signature
readonly _rpm$: any\n
"},{"location":"modules/core/3d/entities/gg-car/gg-car.entity.ts/#_acceleration-property","title":"_acceleration$ (property)","text":"Signature
_acceleration$: any\n
"},{"location":"modules/core/3d/entities/gg-car/gg-car.entity.ts/#_brake-property","title":"_brake$ (property)","text":"Signature
_brake$: any\n
"},{"location":"modules/core/3d/entities/gg-car/gg-car.entity.ts/#handbrake-property","title":"handBrake$ (property)","text":"Signature
handBrake$: any\n
"},{"location":"modules/core/3d/entities/gg-car/gg-car.entity.ts/#raycastvehicle-property","title":"raycastVehicle (property)","text":"Signature
readonly raycastVehicle: RVEntity\n
"},{"location":"modules/core/3d/entities/gg-car/gg-car.entity.ts/#ggcarproperties-type-alias","title":"GgCarProperties (type alias)","text":"Signature
export type GgCarProperties = RVEntityProperties & {\n mpsToRpmFactor?: number\n engine: {\n minRpm: number\n maxRpm: number\n torques: {\n rpm: number\n torque: number\n }[]\n maxRpmIncreasePerSecond: number\n maxRpmDecreasePerSecond: number\n }\n brake: {\n frontAxleForce: number\n rearAxleForce: number\n handbrakeForce: number\n }\n transmission: {\n isAuto: boolean\n reverseGearRatio: number\n gearRatios: number[]\n drivelineEfficiency: number\n finalDriveRatio: number // differential\n upShifts: number[]\n autoHold: boolean\n }\n maxSteerAngle: number\n}\n
"},{"location":"modules/core/3d/interfaces/","title":"Modules","text":"Directory table of contents core/3d/interfaces/i-positionable-3d.ts "},{"location":"modules/core/3d/interfaces/i-positionable-3d.ts/","title":"core/3d/interfaces/i-positionable-3d.ts","text":""},{"location":"modules/core/3d/interfaces/i-positionable-3d.ts/#i-positionable-3d-overview","title":"i-positionable-3d overviewTable of contents","text":" utils IPositionable3d (interface) "},{"location":"modules/core/3d/interfaces/i-positionable-3d.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/interfaces/i-positionable-3d.ts/#ipositionable3d-interface","title":"IPositionable3d (interface)","text":"Signature
export interface IPositionable3d extends IPositionable<Point3, Point4> {}\n
"},{"location":"modules/core/3d/models/","title":"Modules","text":"Directory table of contents core/3d/models/body-options.ts core/3d/models/gg-meta.ts core/3d/models/shapes.ts "},{"location":"modules/core/3d/models/body-options.ts/","title":"core/3d/models/body-options.ts","text":""},{"location":"modules/core/3d/models/body-options.ts/#body-options-overview","title":"body-options overviewTable of contents","text":" utils Body3DOptions (interface) "},{"location":"modules/core/3d/models/body-options.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/models/body-options.ts/#body3doptions-interface","title":"Body3DOptions (interface)","text":"Signature
export interface Body3DOptions extends BodyOptions {}\n
"},{"location":"modules/core/3d/models/gg-meta.ts/","title":"core/3d/models/gg-meta.ts","text":""},{"location":"modules/core/3d/models/gg-meta.ts/#gg-meta-overview","title":"gg-meta overviewTable of contents","text":" utils GgCurve (type alias) GgDummy (type alias) GgMeta (type alias) GgRigidBody (type alias) "},{"location":"modules/core/3d/models/gg-meta.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/models/gg-meta.ts/#ggcurve-type-alias","title":"GgCurve (type alias)","text":"Signature
export type GgCurve = { name: string; cyclic: boolean; points: Point3[] } & any\n
"},{"location":"modules/core/3d/models/gg-meta.ts/#ggdummy-type-alias","title":"GgDummy (type alias)","text":"Signature
export type GgDummy = { name: string; position: Point3; rotation: Point4 } & any\n
"},{"location":"modules/core/3d/models/gg-meta.ts/#ggmeta-type-alias","title":"GgMeta (type alias)","text":"Signature
export type GgMeta = {\n dummies: GgDummy[]\n curves: GgCurve[]\n rigidBodies: GgRigidBody[]\n}\n
"},{"location":"modules/core/3d/models/gg-meta.ts/#ggrigidbody-type-alias","title":"GgRigidBody (type alias)","text":"Signature
export type GgRigidBody = { name: string; position: Point3; rotation: Point4 } & BodyShape3DDescriptor\n
"},{"location":"modules/core/3d/models/shapes.ts/","title":"core/3d/models/shapes.ts","text":""},{"location":"modules/core/3d/models/shapes.ts/#shapes-overview","title":"shapes overviewTable of contents","text":" utils BodyShape3DDescriptor (type alias) Shape3DDescriptor (type alias) "},{"location":"modules/core/3d/models/shapes.ts/#utils","title":"utils","text":""},{"location":"modules/core/3d/models/shapes.ts/#bodyshape3ddescriptor-type-alias","title":"BodyShape3DDescriptor (type alias)","text":"Signature
export type BodyShape3DDescriptor = { shape: Shape3DDescriptor; body: Partial<Body3DOptions> }\n
"},{"location":"modules/core/3d/models/shapes.ts/#shape3ddescriptor-type-alias","title":"Shape3DDescriptor (type alias)","text":"Signature
export type Shape3DDescriptor =\n | { shape: 'PLANE' }\n | { shape: 'BOX'; dimensions: Point3 }\n | { shape: 'CONE' | 'CYLINDER'; radius: number; height: number }\n | { shape: 'CAPSULE'; radius: number; centersDistance: number }\n | { shape: 'SPHERE'; radius: number }\n | { shape: 'COMPOUND'; children: { position?: Point3; rotation?: Point4; shape: Shape3DDescriptor }[] }\n | { shape: 'CONVEX_HULL'; vertices: Point3[] }\n | { shape: 'MESH'; vertices: Point3[]; faces: [number, number, number][] }\n
"},{"location":"modules/core/base/","title":"Modules","text":"Directory table of contents core/base/clock core/base/components core/base/data-structures core/base/entities core/base/gg-world.ts core/base/index.ts core/base/inputs core/base/interfaces core/base/math core/base/models "},{"location":"modules/core/base/gg-world.ts/","title":"core/base/gg-world.ts","text":""},{"location":"modules/core/base/gg-world.ts/#gg-world-overview","title":"gg-world overviewTable of contents","text":" utils GgWorld (class) init (method) start (method) pauseWorld (method) resumeWorld (method) createClock (method) dispose (method) addPrimitiveRigidBody (method) addEntity (method) removeEntity (method) worldClock (property) keyboardInput (property) name (property) children (property) tickListeners (property) PhysicsTypeDocRepo (type alias) VisualTypeDocRepo (type alias) "},{"location":"modules/core/base/gg-world.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/gg-world.ts/#ggworld-class","title":"GgWorld (class)","text":"Signature
export declare class GgWorld<D, R, VTypeDoc, PTypeDoc, VS, PW> {\n protected constructor(public readonly visualScene: VS, public readonly physicsWorld: PW)\n}\n
"},{"location":"modules/core/base/gg-world.ts/#init-method","title":"init (method)","text":"Signature
public async init()\n
"},{"location":"modules/core/base/gg-world.ts/#start-method","title":"start (method)","text":"Signature
public start()\n
"},{"location":"modules/core/base/gg-world.ts/#pauseworld-method","title":"pauseWorld (method)","text":"Signature
public pauseWorld()\n
"},{"location":"modules/core/base/gg-world.ts/#resumeworld-method","title":"resumeWorld (method)","text":"Signature
public resumeWorld()\n
"},{"location":"modules/core/base/gg-world.ts/#createclock-method","title":"createClock (method)","text":"Signature
public createClock(autoStart: boolean): PausableClock\n
"},{"location":"modules/core/base/gg-world.ts/#dispose-method","title":"dispose (method)","text":"Signature
public dispose(): void\n
"},{"location":"modules/core/base/gg-world.ts/#addprimitiverigidbody-method","title":"addPrimitiveRigidBody (method)","text":"Signature
abstract addPrimitiveRigidBody(\n descr: unknown, // type defined in subclasses\n position?: D,\n rotation?: R,\n material?: unknown, // type defined in subclasses\n ): IPositionable<D, R> & IRenderableEntity<D, R, VTypeDoc>;\n
"},{"location":"modules/core/base/gg-world.ts/#addentity-method","title":"addEntity (method)","text":"Signature
public addEntity(entity: IEntity): void\n
"},{"location":"modules/core/base/gg-world.ts/#removeentity-method","title":"removeEntity (method)","text":"Signature
public removeEntity(entity: IEntity, dispose = false): void\n
"},{"location":"modules/core/base/gg-world.ts/#worldclock-property","title":"worldClock (property)","text":"Signature
readonly worldClock: PausableClock\n
"},{"location":"modules/core/base/gg-world.ts/#keyboardinput-property","title":"keyboardInput (property)","text":"Signature
readonly keyboardInput: KeyboardInput\n
"},{"location":"modules/core/base/gg-world.ts/#name-property","title":"name (property)","text":"Signature
name: string\n
"},{"location":"modules/core/base/gg-world.ts/#children-property","title":"children (property)","text":"Signature
readonly children: IEntity<any, any, VisualTypeDocRepo<any, any>, PhysicsTypeDocRepo<any, any>>[]\n
"},{"location":"modules/core/base/gg-world.ts/#ticklisteners-property","title":"tickListeners (property)","text":"Signature
readonly tickListeners: IEntity<any, any, VisualTypeDocRepo<any, any>, PhysicsTypeDocRepo<any, any>>[]\n
"},{"location":"modules/core/base/gg-world.ts/#physicstypedocrepo-type-alias","title":"PhysicsTypeDocRepo (type alias)","text":"Signature
export type PhysicsTypeDocRepo<D, R> = {\n factory: unknown\n rigidBody: IRigidBodyComponent<D, R>\n trigger: ITriggerComponent<D, R>\n}\n
"},{"location":"modules/core/base/gg-world.ts/#visualtypedocrepo-type-alias","title":"VisualTypeDocRepo (type alias)","text":"Signature
export type VisualTypeDocRepo<D, R> = {\n factory: unknown\n displayObject: IDisplayObjectComponent<D, R>\n renderer: IRendererComponent<D, R>\n}\n
"},{"location":"modules/core/base/index.ts/","title":"core/base/index.ts","text":""},{"location":"modules/core/base/index.ts/#index-overview","title":"index overviewTable of contents","text":""},{"location":"modules/core/base/clock/","title":"Modules","text":"Directory table of contents core/base/clock/global-clock.ts core/base/clock/i-clock.ts core/base/clock/pausable-clock.ts "},{"location":"modules/core/base/clock/global-clock.ts/","title":"core/base/clock/global-clock.ts","text":""},{"location":"modules/core/base/clock/global-clock.ts/#global-clock-overview","title":"global-clock overviewTable of contents","text":" utils GgGlobalClock (class) createChildClock (method) "},{"location":"modules/core/base/clock/global-clock.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/clock/global-clock.ts/#ggglobalclock-class","title":"GgGlobalClock (class)","text":"A singleton class, providing ability to track time, fire ticks, provide time elapsed + tick delta. Starts as soon as accessed and counts time from 01/01/1970
Signature
export declare class GgGlobalClock {\n private constructor()\n}\n
"},{"location":"modules/core/base/clock/global-clock.ts/#createchildclock-method","title":"createChildClock (method)","text":"Signature
createChildClock(autoStart: boolean): PausableClock\n
"},{"location":"modules/core/base/clock/i-clock.ts/","title":"core/base/clock/i-clock.ts","text":""},{"location":"modules/core/base/clock/i-clock.ts/#i-clock-overview","title":"i-clock overviewTable of contents","text":""},{"location":"modules/core/base/clock/i-clock.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/clock/i-clock.ts/#iclock-interface","title":"IClock (interface)","text":"Signature
export interface IClock {\n
"},{"location":"modules/core/base/clock/pausable-clock.ts/","title":"core/base/clock/pausable-clock.ts","text":""},{"location":"modules/core/base/clock/pausable-clock.ts/#pausable-clock-overview","title":"pausable-clock overviewTable of contents","text":" utils PausableClock (class) createChildClock (method) start (method) stop (method) pause (method) resume (method) startListeningTicks (method) stopListeningTicks (method) "},{"location":"modules/core/base/clock/pausable-clock.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/clock/pausable-clock.ts/#pausableclock-class","title":"PausableClock (class)","text":"A class, providing ability to track time, fire ticks, provide time elapsed + tick delta with ability to suspend/resume it.
Signature
export declare class PausableClock {\n constructor(autoStart: boolean = false, protected readonly parentClock: IClock = GgGlobalClock.instance)\n}\n
"},{"location":"modules/core/base/clock/pausable-clock.ts/#createchildclock-method","title":"createChildClock (method)","text":"Signature
createChildClock(autoStart: boolean): PausableClock\n
"},{"location":"modules/core/base/clock/pausable-clock.ts/#start-method","title":"start (method)","text":"Signature
start()\n
"},{"location":"modules/core/base/clock/pausable-clock.ts/#stop-method","title":"stop (method)","text":"Signature
stop()\n
"},{"location":"modules/core/base/clock/pausable-clock.ts/#pause-method","title":"pause (method)","text":"Signature
pause()\n
"},{"location":"modules/core/base/clock/pausable-clock.ts/#resume-method","title":"resume (method)","text":"Signature
resume()\n
"},{"location":"modules/core/base/clock/pausable-clock.ts/#startlisteningticks-method","title":"startListeningTicks (method)","text":"Signature
protected startListeningTicks()\n
"},{"location":"modules/core/base/clock/pausable-clock.ts/#stoplisteningticks-method","title":"stopListeningTicks (method)","text":"Signature
protected stopListeningTicks()\n
"},{"location":"modules/core/base/components/","title":"Modules","text":"Directory table of contents core/base/components/i-component.ts core/base/components/i-world-component.ts core/base/components/physics core/base/components/rendering "},{"location":"modules/core/base/components/i-component.ts/","title":"core/base/components/i-component.ts","text":""},{"location":"modules/core/base/components/i-component.ts/#i-component-overview","title":"i-component overviewTable of contents","text":" utils IComponent (interface) "},{"location":"modules/core/base/components/i-component.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/components/i-component.ts/#icomponent-interface","title":"IComponent (interface)","text":"Signature
export interface IComponent {\n dispose(): void\n}\n
"},{"location":"modules/core/base/components/i-world-component.ts/","title":"core/base/components/i-world-component.ts","text":""},{"location":"modules/core/base/components/i-world-component.ts/#i-world-component-overview","title":"i-world-component overviewTable of contents","text":" utils IWorldComponent (interface) "},{"location":"modules/core/base/components/i-world-component.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/components/i-world-component.ts/#iworldcomponent-interface","title":"IWorldComponent (interface)","text":"Signature
export interface IWorldComponent<\n D,\n R,\n VTypeDoc extends VisualTypeDocRepo<D, R> = VisualTypeDocRepo<D, R>,\n PTypeDoc extends PhysicsTypeDocRepo<D, R> = PhysicsTypeDocRepo<D, R>\n> {\n entity: IEntity | null\n\n addToWorld(world: GgWorld<D, R, VTypeDoc, PTypeDoc>): void\n\n removeFromWorld(world: GgWorld<D, R, VTypeDoc, PTypeDoc>, dispose?: boolean): void\n\n dispose(): void\n}\n
"},{"location":"modules/core/base/components/physics/","title":"Modules","text":"Directory table of contents core/base/components/physics/i-body.component.ts core/base/components/physics/i-physics-world.component.ts core/base/components/physics/i-rigid-body.component.ts core/base/components/physics/i-trigger.component.ts "},{"location":"modules/core/base/components/physics/i-body.component.ts/","title":"core/base/components/physics/i-body.component.ts","text":""},{"location":"modules/core/base/components/physics/i-body.component.ts/#i-bodycomponent-overview","title":"i-body.component overviewTable of contents","text":" utils IBodyComponent (interface) "},{"location":"modules/core/base/components/physics/i-body.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/components/physics/i-body.component.ts/#ibodycomponent-interface","title":"IBodyComponent (interface)","text":"Signature
export interface IBodyComponent<D, R, TypeDoc extends PhysicsTypeDocRepo<D, R> = PhysicsTypeDocRepo<D, R>>\n extends IWorldComponent<D, R, VisualTypeDocRepo<D, R>, TypeDoc> {\n entity: IEntity | null;\n\n position: D;\n rotation: R;\n\n name: string;\n
"},{"location":"modules/core/base/components/physics/i-physics-world.component.ts/","title":"core/base/components/physics/i-physics-world.component.ts","text":""},{"location":"modules/core/base/components/physics/i-physics-world.component.ts/#i-physics-worldcomponent-overview","title":"i-physics-world.component overviewTable of contents","text":" utils IPhysicsWorldComponent (interface) "},{"location":"modules/core/base/components/physics/i-physics-world.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/components/physics/i-physics-world.component.ts/#iphysicsworldcomponent-interface","title":"IPhysicsWorldComponent (interface)","text":"Signature
export interface IPhysicsWorldComponent<D, R, TypeDoc extends PhysicsTypeDocRepo<D, R> = PhysicsTypeDocRepo<D, R>>\n extends IComponent {\n readonly factory: TypeDoc['factory'];\n gravity: D;\n timeScale: number;\n
"},{"location":"modules/core/base/components/physics/i-rigid-body.component.ts/","title":"core/base/components/physics/i-rigid-body.component.ts","text":""},{"location":"modules/core/base/components/physics/i-rigid-body.component.ts/#i-rigid-bodycomponent-overview","title":"i-rigid-body.component overviewTable of contents","text":" utils IRigidBodyComponent (interface) "},{"location":"modules/core/base/components/physics/i-rigid-body.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/components/physics/i-rigid-body.component.ts/#irigidbodycomponent-interface","title":"IRigidBodyComponent (interface)","text":"Signature
export interface IRigidBodyComponent<D, R, TypeDoc extends PhysicsTypeDocRepo<D, R> = PhysicsTypeDocRepo<D, R>>\n extends IBodyComponent<D, R, TypeDoc> {\n linearVelocity: D\n angularVelocity: R | D\n\n clone(): IRigidBodyComponent<D, R, TypeDoc>\n\n /** clear velocities etc. */\n resetMotion(): void\n}\n
"},{"location":"modules/core/base/components/physics/i-trigger.component.ts/","title":"core/base/components/physics/i-trigger.component.ts","text":""},{"location":"modules/core/base/components/physics/i-trigger.component.ts/#i-triggercomponent-overview","title":"i-trigger.component overviewTable of contents","text":" utils ITriggerComponent (interface) "},{"location":"modules/core/base/components/physics/i-trigger.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/components/physics/i-trigger.component.ts/#itriggercomponent-interface","title":"ITriggerComponent (interface)","text":"Signature
export interface ITriggerComponent<D, R, TypDoc extends PhysicsTypeDocRepo<D, R> = PhysicsTypeDocRepo<D, R>>\n extends IBodyComponent<D, R, TypDoc> {\n
"},{"location":"modules/core/base/components/rendering/","title":"Modules","text":"Directory table of contents core/base/components/rendering/i-display-object.component.ts core/base/components/rendering/i-renderer.component.ts core/base/components/rendering/i-visual-scene.component.ts "},{"location":"modules/core/base/components/rendering/i-display-object.component.ts/","title":"core/base/components/rendering/i-display-object.component.ts","text":""},{"location":"modules/core/base/components/rendering/i-display-object.component.ts/#i-display-objectcomponent-overview","title":"i-display-object.component overviewTable of contents","text":" utils IDisplayObjectComponent (interface) "},{"location":"modules/core/base/components/rendering/i-display-object.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/components/rendering/i-display-object.component.ts/#idisplayobjectcomponent-interface","title":"IDisplayObjectComponent (interface)","text":"Signature
export interface IDisplayObjectComponent<D, R, TypeDoc extends VisualTypeDocRepo<D, R> = VisualTypeDocRepo<D, R>>\n extends IWorldComponent<D, R, TypeDoc> {\n position: D\n rotation: R\n scale: D\n\n visible: boolean\n\n name: string\n\n isEmpty(): boolean\n\n popChild(name: string): IDisplayObjectComponent<D, R, TypeDoc> | null\n\n getBoundings(): GgBox<D>\n\n clone(): IDisplayObjectComponent<D, R, TypeDoc>\n\n addToWorld(world: GgWorld<D, R, TypeDoc>): void\n\n removeFromWorld(world: GgWorld<D, R, TypeDoc>): void\n}\n
"},{"location":"modules/core/base/components/rendering/i-renderer.component.ts/","title":"core/base/components/rendering/i-renderer.component.ts","text":""},{"location":"modules/core/base/components/rendering/i-renderer.component.ts/#i-renderercomponent-overview","title":"i-renderer.component overviewTable of contents","text":" utils IRendererComponent (class) render (method) addToWorld (method) removeFromWorld (method) resizeRenderer (method) dispose (method) entity (property) rendererOptions (property) RendererOptions (type alias) "},{"location":"modules/core/base/components/rendering/i-renderer.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/components/rendering/i-renderer.component.ts/#irenderercomponent-class","title":"IRendererComponent (class)","text":"Signature
export declare class IRendererComponent<D, R, VTypeDoc> {\n protected constructor(\n public readonly scene: IVisualSceneComponent<D, R, VTypeDoc>,\n public readonly canvas?: HTMLCanvasElement,\n options: Partial<RendererOptions> = {}\n )\n}\n
"},{"location":"modules/core/base/components/rendering/i-renderer.component.ts/#render-method","title":"render (method)","text":"Renders the scene.
Signature
abstract render(): void;\n
"},{"location":"modules/core/base/components/rendering/i-renderer.component.ts/#addtoworld-method","title":"addToWorld (method)","text":"Signature
abstract addToWorld(world: GgWorld<D, R, VTypeDoc>): void;\n
"},{"location":"modules/core/base/components/rendering/i-renderer.component.ts/#removefromworld-method","title":"removeFromWorld (method)","text":"Signature
abstract removeFromWorld(world: GgWorld<D, R, VTypeDoc>): void;\n
"},{"location":"modules/core/base/components/rendering/i-renderer.component.ts/#resizerenderer-method","title":"resizeRenderer (method)","text":"Resizes the renderer to the specified size.
Signature
abstract resizeRenderer(newSize: Point2): void;\n
"},{"location":"modules/core/base/components/rendering/i-renderer.component.ts/#dispose-method","title":"dispose (method)","text":"Signature
abstract dispose(): void;\n
"},{"location":"modules/core/base/components/rendering/i-renderer.component.ts/#entity-property","title":"entity (property)","text":"Signature
entity: IEntity<any, any, VisualTypeDocRepo<any, any>, PhysicsTypeDocRepo<any, any>> | null\n
"},{"location":"modules/core/base/components/rendering/i-renderer.component.ts/#rendereroptions-property","title":"rendererOptions (property)","text":"Specifies the options for the renderer.
Signature
readonly rendererOptions: RendererOptions\n
"},{"location":"modules/core/base/components/rendering/i-renderer.component.ts/#rendereroptions-type-alias","title":"RendererOptions (type alias)","text":"Represents the options that can be passed to a renderer.
Signature
export type RendererOptions = {\n transparent: boolean\n background: number\n size: Point2 | 'fullscreen' | ((pageSize: Point2) => Point2) | Observable<Point2>\n forceResolution?: number\n antialias: boolean\n}\n
"},{"location":"modules/core/base/components/rendering/i-visual-scene.component.ts/","title":"core/base/components/rendering/i-visual-scene.component.ts","text":""},{"location":"modules/core/base/components/rendering/i-visual-scene.component.ts/#i-visual-scenecomponent-overview","title":"i-visual-scene.component overviewTable of contents","text":" utils IVisualSceneComponent (interface) "},{"location":"modules/core/base/components/rendering/i-visual-scene.component.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/components/rendering/i-visual-scene.component.ts/#ivisualscenecomponent-interface","title":"IVisualSceneComponent (interface)","text":"Signature
export interface IVisualSceneComponent<D, R, TypeDoc extends VisualTypeDocRepo<D, R> = VisualTypeDocRepo<D, R>>\n extends IComponent {\n readonly factory: TypeDoc['factory']\n\n readonly debugPhysicsDrawerClass?: { new (): IDebugPhysicsDrawer<D, R, TypeDoc> }\n\n init(): Promise<void>\n}\n
"},{"location":"modules/core/base/data-structures/","title":"Modules","text":"Directory table of contents core/base/data-structures/bitmask.ts core/base/data-structures/graph.ts "},{"location":"modules/core/base/data-structures/bitmask.ts/","title":"core/base/data-structures/bitmask.ts","text":""},{"location":"modules/core/base/data-structures/bitmask.ts/#bitmask-overview","title":"bitmask overviewTable of contents","text":"BitMask class provides static methods to manipulate bits in a number.
utils BitMask (class) full (static method) fullArray (static method) pack (static method) unpack (static method) "},{"location":"modules/core/base/data-structures/bitmask.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/data-structures/bitmask.ts/#bitmask-class","title":"BitMask (class)","text":"BitMask class provides static methods to manipulate bits in a number.
Signature
export declare class BitMask\n
"},{"location":"modules/core/base/data-structures/bitmask.ts/#full-static-method","title":"full (static method)","text":"Generates a bitmask with all bits set to 1 upto the provided bit count
Signature
static full(bits: number)\n
"},{"location":"modules/core/base/data-structures/bitmask.ts/#fullarray-static-method","title":"fullArray (static method)","text":"Generates an array with elements being consecutive numbers starting from 0 up to the provided number
Signature
static fullArray(bits: number)\n
"},{"location":"modules/core/base/data-structures/bitmask.ts/#pack-static-method","title":"pack (static method)","text":"Packs an array of bit indices into a single number
Signature
static pack(value: number[], bits: number)\n
"},{"location":"modules/core/base/data-structures/bitmask.ts/#unpack-static-method","title":"unpack (static method)","text":"Unpacks a bitmask into an array of bit indices
Signature
static unpack(mask: number, bits: number)\n
"},{"location":"modules/core/base/data-structures/graph.ts/","title":"core/base/data-structures/graph.ts","text":""},{"location":"modules/core/base/data-structures/graph.ts/#graph-overview","title":"graph overviewTable of contents","text":" utils Graph (class) fromArray (static method) fromSquareGrid (static method) addAdjacent (method) removeAdjacent (method) addEdge (method) removeEdge (method) walkRead (method) walkReadPreserveDepth (method) nodes (method) data (property) "},{"location":"modules/core/base/data-structures/graph.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/data-structures/graph.ts/#graph-class","title":"Graph (class)","text":"Signature
export declare class Graph<T> {\n constructor(data: T)\n}\n
"},{"location":"modules/core/base/data-structures/graph.ts/#fromarray-static-method","title":"fromArray (static method)","text":"Creates a new Graph instance from an array of elements, where each element in the array is a node in the graph. The first element of the array is used as the root node of the graph.
Signature
static fromArray<T>(array: T[], closed: boolean = false): Graph<T>\n
"},{"location":"modules/core/base/data-structures/graph.ts/#fromsquaregrid-static-method","title":"fromSquareGrid (static method)","text":"Creates a new Graph instance from a two-dimensional square grid of elements, where each element in the grid is a node in the graph. The top-left element of the grid is used as the root node of the graph. The nodes in the graph are created in the same order as the elements in the grid, from left to right and then from top to bottom.
Signature
static fromSquareGrid<T>(grid: T[][]): Graph<T>\n
"},{"location":"modules/core/base/data-structures/graph.ts/#addadjacent-method","title":"addAdjacent (method)","text":"Signature
addAdjacent(node: Graph<T>): boolean\n
"},{"location":"modules/core/base/data-structures/graph.ts/#removeadjacent-method","title":"removeAdjacent (method)","text":"Signature
removeAdjacent(node: Graph<T>): boolean\n
"},{"location":"modules/core/base/data-structures/graph.ts/#addedge-method","title":"addEdge (method)","text":"Create an edge between two nodes
Signature
addEdge(source: Graph<T>, destination: Graph<T>): boolean\n
"},{"location":"modules/core/base/data-structures/graph.ts/#removeedge-method","title":"removeEdge (method)","text":"Remove an edge between two nodes
Signature
removeEdge(source: Graph<T>, destination: Graph<T>): boolean\n
"},{"location":"modules/core/base/data-structures/graph.ts/#walkread-method","title":"walkRead (method)","text":"Signature
walkRead(depth: number): Set<Graph<T>>\n
"},{"location":"modules/core/base/data-structures/graph.ts/#walkreadpreservedepth-method","title":"walkReadPreserveDepth (method)","text":"Signature
walkReadPreserveDepth(depth: number): Set<Graph<T>>[]\n
"},{"location":"modules/core/base/data-structures/graph.ts/#nodes-method","title":"nodes (method)","text":"Signature
nodes(): Graph<T>[]\n
"},{"location":"modules/core/base/data-structures/graph.ts/#data-property","title":"data (property)","text":"Signature
data: T\n
"},{"location":"modules/core/base/entities/","title":"Modules","text":"Directory table of contents core/base/entities/controllers core/base/entities/i-entity.ts core/base/entities/i-renderable.entity.ts core/base/entities/i-renderer.entity.ts "},{"location":"modules/core/base/entities/i-entity.ts/","title":"core/base/entities/i-entity.ts","text":""},{"location":"modules/core/base/entities/i-entity.ts/#i-entity-overview","title":"i-entity overviewTable of contents","text":" utils IEntity (class) addChildren (method) removeChildren (method) addComponents (method) removeComponents (method) onSpawned (method) onRemoved (method) dispose (method) tick$ (property) tickOrder (property) _world (property) _name (property) _active (property) parent (property) _onSpawned$ (property) _onRemoved$ (property) "},{"location":"modules/core/base/entities/i-entity.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/entities/i-entity.ts/#ientity-class","title":"IEntity (class)","text":"Signature
export declare class IEntity<D, R, VTypeDoc, PTypeDoc>\n
"},{"location":"modules/core/base/entities/i-entity.ts/#addchildren-method","title":"addChildren (method)","text":"Signature
public addChildren(...entities: IEntity[])\n
"},{"location":"modules/core/base/entities/i-entity.ts/#removechildren-method","title":"removeChildren (method)","text":"Signature
public removeChildren(entities: IEntity[], dispose: boolean = false)\n
"},{"location":"modules/core/base/entities/i-entity.ts/#addcomponents-method","title":"addComponents (method)","text":"Signature
public addComponents(...components: IWorldComponent<D, R, VTypeDoc, PTypeDoc>[])\n
"},{"location":"modules/core/base/entities/i-entity.ts/#removecomponents-method","title":"removeComponents (method)","text":"Signature
public removeComponents(components: IWorldComponent<D, R, VTypeDoc, PTypeDoc>[], dispose: boolean = false)\n
"},{"location":"modules/core/base/entities/i-entity.ts/#onspawned-method","title":"onSpawned (method)","text":"Signature
public onSpawned(world: GgWorld<D, R, VTypeDoc, PTypeDoc>)\n
"},{"location":"modules/core/base/entities/i-entity.ts/#onremoved-method","title":"onRemoved (method)","text":"Signature
public onRemoved()\n
"},{"location":"modules/core/base/entities/i-entity.ts/#dispose-method","title":"dispose (method)","text":"Signature
public dispose(): void\n
"},{"location":"modules/core/base/entities/i-entity.ts/#tick-property","title":"tick$ (property)","text":"will receive [elapsed time, delta] of each world clock tick
Signature
readonly tick$: any\n
"},{"location":"modules/core/base/entities/i-entity.ts/#tickorder-property","title":"tickOrder (property)","text":"the priority of ticker: the less value, the earlier tick will be run.
Signature
readonly tickOrder: number\n
"},{"location":"modules/core/base/entities/i-entity.ts/#_world-property","title":"_world (property)","text":"a world reference, where this entity was added to
Signature
_world: GgWorld<\n D,\n R,\n VTypeDoc,\n PTypeDoc,\n IVisualSceneComponent<D, R, VTypeDoc>,\n IPhysicsWorldComponent<D, R, PTypeDoc>\n> | null\n
"},{"location":"modules/core/base/entities/i-entity.ts/#_name-property","title":"_name (property)","text":"Signature
_name: string\n
"},{"location":"modules/core/base/entities/i-entity.ts/#_active-property","title":"_active (property)","text":"The flag whether entity should listen to ticks. If set to false, ticks will not be propagated to this entity
Signature
_active: boolean\n
"},{"location":"modules/core/base/entities/i-entity.ts/#parent-property","title":"parent (property)","text":"Signature
parent: IEntity<any, any, VisualTypeDocRepo<any, any>, PhysicsTypeDocRepo<any, any>> | null\n
"},{"location":"modules/core/base/entities/i-entity.ts/#_onspawned-property","title":"_onSpawned$ (property)","text":"Signature
_onSpawned$: any\n
"},{"location":"modules/core/base/entities/i-entity.ts/#_onremoved-property","title":"_onRemoved$ (property)","text":"Signature
_onRemoved$: any\n
"},{"location":"modules/core/base/entities/i-renderable.entity.ts/","title":"core/base/entities/i-renderable.entity.ts","text":""},{"location":"modules/core/base/entities/i-renderable.entity.ts/#i-renderableentity-overview","title":"i-renderable.entity overviewTable of contents","text":" utils IRenderableEntity (class) updateVisibility (method) addChildren (method) removeChildren (method) "},{"location":"modules/core/base/entities/i-renderable.entity.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/entities/i-renderable.entity.ts/#irenderableentity-class","title":"IRenderableEntity (class)","text":"Signature
export declare class IRenderableEntity<D, R, TypeDoc, PTypeDoc>\n
"},{"location":"modules/core/base/entities/i-renderable.entity.ts/#updatevisibility-method","title":"updateVisibility (method)","text":"Signature
public updateVisibility(): void\n
"},{"location":"modules/core/base/entities/i-renderable.entity.ts/#addchildren-method","title":"addChildren (method)","text":"Signature
addChildren(...entities: IEntity[])\n
"},{"location":"modules/core/base/entities/i-renderable.entity.ts/#removechildren-method","title":"removeChildren (method)","text":"Signature
removeChildren(entities: IEntity[], dispose: boolean = false)\n
"},{"location":"modules/core/base/entities/i-renderer.entity.ts/","title":"core/base/entities/i-renderer.entity.ts","text":""},{"location":"modules/core/base/entities/i-renderer.entity.ts/#i-rendererentity-overview","title":"i-renderer.entity overviewTable of contents","text":" utils IRendererEntity (class) onSpawned (method) dispose (method) tickOrder (property) _rendererSize$ (property) "},{"location":"modules/core/base/entities/i-renderer.entity.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/entities/i-renderer.entity.ts/#irendererentity-class","title":"IRendererEntity (class)","text":"Represents a base class for a renderer entity.
Signature
export declare class IRendererEntity<D, R, TypeDoc> {\n constructor(public readonly renderer: TypeDoc['renderer'])\n}\n
"},{"location":"modules/core/base/entities/i-renderer.entity.ts/#onspawned-method","title":"onSpawned (method)","text":"Signature
onSpawned(world: GgWorld<D, R, TypeDoc>)\n
"},{"location":"modules/core/base/entities/i-renderer.entity.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose()\n
"},{"location":"modules/core/base/entities/i-renderer.entity.ts/#tickorder-property","title":"tickOrder (property)","text":"Signature
readonly tickOrder: TickOrder.RENDERING\n
"},{"location":"modules/core/base/entities/i-renderer.entity.ts/#_renderersize-property","title":"_rendererSize$ (property)","text":"Represents the current size of the renderer.
Signature
_rendererSize$: any\n
"},{"location":"modules/core/base/entities/controllers/","title":"Modules","text":"Directory table of contents core/base/entities/controllers/animation-mixer.ts core/base/entities/controllers/inline-controller.ts "},{"location":"modules/core/base/entities/controllers/animation-mixer.ts/","title":"core/base/entities/controllers/animation-mixer.ts","text":""},{"location":"modules/core/base/entities/controllers/animation-mixer.ts/#animation-mixer-overview","title":"animation-mixer overviewTable of contents","text":" utils AnimationFunction (type alias) AnimationMixer (class) transitFromStaticState (method) transitAnimationFunction (method) onSpawned (method) dispose (method) tickOrder (property) _value$ (property) "},{"location":"modules/core/base/entities/controllers/animation-mixer.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/entities/controllers/animation-mixer.ts/#animationfunction-type-alias","title":"AnimationFunction (type alias)","text":"Signature
export type AnimationFunction<T> = (elapsed: number, delta: number) => T\n
"},{"location":"modules/core/base/entities/controllers/animation-mixer.ts/#animationmixer-class","title":"AnimationMixer (class)","text":"A class that performs property animations for a specific type T
by using provided animation function. Supports smooth transition between animation function by interpolating between values over time. The current value of the animation can be subscribed to using the subscribeToValue
property. The animation function can be changed with transitAnimationFunction
or transitFromStaticState
.
Signature
export declare class AnimationMixer<T, D, R, VTypeDoc, PTypeDoc> {\n constructor(\n protected _animationFunction: AnimationFunction<T>,\n protected _lerp: (a: T, b: T, t: number) => T = (a, b, t) => b\n )\n}\n
"},{"location":"modules/core/base/entities/controllers/animation-mixer.ts/#transitfromstaticstate-method","title":"transitFromStaticState (method)","text":"Set output to static value and smoothly transit to new control function
Signature
transitFromStaticState(\n state: T,\n newFunc: AnimationFunction<T>,\n transitionDuration: number,\n easing: (t: number) => number = x => x,\n )\n
"},{"location":"modules/core/base/entities/controllers/animation-mixer.ts/#transitanimationfunction-method","title":"transitAnimationFunction (method)","text":"Smoothly transit to new control function
Signature
transitAnimationFunction(\n newFunc: AnimationFunction<T>,\n transitionDuration: number,\n easing: (t: number) => number = x => x,\n )\n
"},{"location":"modules/core/base/entities/controllers/animation-mixer.ts/#onspawned-method","title":"onSpawned (method)","text":"Signature
onSpawned(world: GgWorld<D, R, VTypeDoc, PTypeDoc>)\n
"},{"location":"modules/core/base/entities/controllers/animation-mixer.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose(): void\n
"},{"location":"modules/core/base/entities/controllers/animation-mixer.ts/#tickorder-property","title":"tickOrder (property)","text":"Signature
readonly tickOrder: number\n
"},{"location":"modules/core/base/entities/controllers/animation-mixer.ts/#_value-property","title":"_value$ (property)","text":"A subject that emits the current value of the animation on every tick.
Signature
readonly _value$: any\n
"},{"location":"modules/core/base/entities/controllers/inline-controller.ts/","title":"core/base/entities/controllers/inline-controller.ts","text":""},{"location":"modules/core/base/entities/controllers/inline-controller.ts/#inline-controller-overview","title":"inline-controller overviewTable of contents","text":" utils createInlineTickController "},{"location":"modules/core/base/entities/controllers/inline-controller.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/entities/controllers/inline-controller.ts/#createinlinetickcontroller","title":"createInlineTickController","text":"Signature
export declare function createInlineTickController(\n world: GgWorld<any, any>,\n tickOrder: number = TickOrder.CONTROLLERS\n): Observable<[number, number]>\n
"},{"location":"modules/core/base/inputs/","title":"Modules","text":"Directory table of contents core/base/inputs/direction.keyboard.input.ts core/base/inputs/i-input.ts core/base/inputs/keyboard.input.ts core/base/inputs/mouse.input.ts "},{"location":"modules/core/base/inputs/direction.keyboard.input.ts/","title":"core/base/inputs/direction.keyboard.input.ts","text":""},{"location":"modules/core/base/inputs/direction.keyboard.input.ts/#directionkeyboardinput-overview","title":"direction.keyboard.input overviewTable of contents","text":" utils DirectionKeyboardInput (class) DirectionKeyboardKeymap (type alias) DirectionKeyboardOutput (type alias) "},{"location":"modules/core/base/inputs/direction.keyboard.input.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/inputs/direction.keyboard.input.ts/#directionkeyboardinput-class","title":"DirectionKeyboardInput (class)","text":"An input class, responsible for handling direction keys and providing simple current direction observable. Supports two the most popular keyboard layouts: WASD and arrows.
Signature
export declare class DirectionKeyboardInput {\n constructor(protected readonly keyboard: KeyboardInput, protected readonly keymap: DirectionKeyboardKeymap)\n}\n
"},{"location":"modules/core/base/inputs/direction.keyboard.input.ts/#startinternal-method","title":"startInternal (method)","text":"Called when the input handling should start.
Signature
protected startInternal()\n
"},{"location":"modules/core/base/inputs/direction.keyboard.input.ts/#directionkeyboardkeymap-type-alias","title":"DirectionKeyboardKeymap (type alias)","text":"The type representing desired keymap for DirectionKeyboardInput
Signature
export type DirectionKeyboardKeymap = 'arrows' | 'wasd' | 'wasd+arrows'\n
"},{"location":"modules/core/base/inputs/direction.keyboard.input.ts/#directionkeyboardoutput-type-alias","title":"DirectionKeyboardOutput (type alias)","text":"The type of DirectionKeyboardInput output value
Signature
export type DirectionKeyboardOutput = { upDown?: boolean; leftRight?: boolean }\n
"},{"location":"modules/core/base/inputs/i-input.ts/","title":"core/base/inputs/i-input.ts","text":""},{"location":"modules/core/base/inputs/i-input.ts/#i-input-overview","title":"i-input overviewTable of contents","text":" utils IInput (class) start (method) stop (method) startInternal (method) stopInternal (method) stop$ (property) "},{"location":"modules/core/base/inputs/i-input.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/inputs/i-input.ts/#iinput-class","title":"IInput (class)","text":"An abstract class that provides basic implementation for Input class. Input is an entity for handling input from user, such as mouse movements, key presses etc. Inputs are not bound to World-s and working independently by design.
TStartParams - A type representing an array of input arguments for the start method. Items are recommended to be named.
TStopParams - A type representing an array of input arguments for the stop method. Items are recommended to be named.
Signature
export declare class IInput<TStartParams, TStopParams>\n
"},{"location":"modules/core/base/inputs/i-input.ts/#start-method","title":"start (method)","text":"A method that starts the input. Do not override it
Signature
start(...args: TStartParams): void\n
"},{"location":"modules/core/base/inputs/i-input.ts/#stop-method","title":"stop (method)","text":"A method that stops the input. Do not override it
Signature
stop(...args: TStopParams): void\n
"},{"location":"modules/core/base/inputs/i-input.ts/#startinternal-method","title":"startInternal (method)","text":"An abstract method that starts the input.
Signature
protected abstract startInternal(...args: TStartParams): void;\n
"},{"location":"modules/core/base/inputs/i-input.ts/#stopinternal-method","title":"stopInternal (method)","text":"A method that stops the input.
Signature
protected stopInternal(...args: TStopParams): void\n
"},{"location":"modules/core/base/inputs/i-input.ts/#stop-property","title":"stop$ (property)","text":"A protected subject that emits a void value when the process is stopped. Subclasses, when subscribing to something using rxjs, have to add pipe takeUntil(this.stop$), so everything will be unsubscribed when stopping input
Signature
readonly stop$: any\n
"},{"location":"modules/core/base/inputs/keyboard.input.ts/","title":"core/base/inputs/keyboard.input.ts","text":""},{"location":"modules/core/base/inputs/keyboard.input.ts/#keyboardinput-overview","title":"keyboard.input overviewTable of contents","text":" utils KeyboardInput (class) startInternal (method) stopInternal (method) bind (method) bindMany (method) emulateKeyDown (method) emulateKeyUp (method) emulateKeyPress (method) handleKeys (method) onPointerLockChange (method) resetAllKeys (method) skipKeyDownsOnExternalFocus (property) externalFocusBlacklist (property) "},{"location":"modules/core/base/inputs/keyboard.input.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/inputs/keyboard.input.ts/#keyboardinput-class","title":"KeyboardInput (class)","text":"A main keyboard input: it does not have own key bindings, but provides an API to bind keys. It is responsible for listening key up/down events (when running!) and emit the events to subscribers. Every World entity has its own dedicated instance of Keyboard input, which is running only when the world is running
Signature
export declare class KeyboardInput {\n constructor()\n}\n
"},{"location":"modules/core/base/inputs/keyboard.input.ts/#startinternal-method","title":"startInternal (method)","text":"Signature
protected startInternal()\n
"},{"location":"modules/core/base/inputs/keyboard.input.ts/#stopinternal-method","title":"stopInternal (method)","text":"Signature
protected stopInternal()\n
"},{"location":"modules/core/base/inputs/keyboard.input.ts/#bind-method","title":"bind (method)","text":"Creates an observable that emits a boolean whenever a key with the given code is pressed or released
Signature
bind(code: string): Observable<boolean>\n
"},{"location":"modules/core/base/inputs/keyboard.input.ts/#bindmany-method","title":"bindMany (method)","text":"Creates an observable that emits a boolean indicating whether any of the keys with the given codes are pressed or released. Should be used when you have more than one keys, responsible for the same action.
Signature
bindMany(...codes: string[]): Observable<boolean>\n
"},{"location":"modules/core/base/inputs/keyboard.input.ts/#emulatekeydown-method","title":"emulateKeyDown (method)","text":"Emulates a key down event for the given key code
Signature
emulateKeyDown(code: string): void\n
"},{"location":"modules/core/base/inputs/keyboard.input.ts/#emulatekeyup-method","title":"emulateKeyUp (method)","text":"Emulates a key up event for the given key code
Signature
emulateKeyUp(code: string): void\n
"},{"location":"modules/core/base/inputs/keyboard.input.ts/#emulatekeypress-method","title":"emulateKeyPress (method)","text":"Emulates a key press event (down and up) for the given key code
Signature
emulateKeyPress(code: string): void\n
"},{"location":"modules/core/base/inputs/keyboard.input.ts/#handlekeys-method","title":"handleKeys (method)","text":"Signature
private handleKeys(e: KeyboardEvent)\n
"},{"location":"modules/core/base/inputs/keyboard.input.ts/#onpointerlockchange-method","title":"onPointerLockChange (method)","text":"Signature
private onPointerLockChange()\n
"},{"location":"modules/core/base/inputs/keyboard.input.ts/#resetallkeys-method","title":"resetAllKeys (method)","text":"Signature
public resetAllKeys()\n
"},{"location":"modules/core/base/inputs/keyboard.input.ts/#skipkeydownsonexternalfocus-property","title":"skipKeyDownsOnExternalFocus (property)","text":"Flag which disables handling key downs, when document has some \"typeable\" element focused
Signature
skipKeyDownsOnExternalFocus: boolean\n
"},{"location":"modules/core/base/inputs/keyboard.input.ts/#externalfocusblacklist-property","title":"externalFocusBlacklist (property)","text":"Which element types should filter key downs when focused
Signature
externalFocusBlacklist: (new () => HTMLElement)[]\n
"},{"location":"modules/core/base/inputs/mouse.input.ts/","title":"core/base/inputs/mouse.input.ts","text":""},{"location":"modules/core/base/inputs/mouse.input.ts/#mouseinput-overview","title":"mouse.input overviewTable of contents","text":" utils MouseInput (class) isTouchDevice (static method) startInternal (method) stopInternal (method) canvasClickListener (method) MouseInputOptions (type alias) "},{"location":"modules/core/base/inputs/mouse.input.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/inputs/mouse.input.ts/#mouseinput-class","title":"MouseInput (class)","text":"A class representing mouse input.
Signature
export declare class MouseInput {\n constructor(options: Partial<MouseInputOptions> = {})\n}\n
"},{"location":"modules/core/base/inputs/mouse.input.ts/#istouchdevice-static-method","title":"isTouchDevice (static method)","text":"Signature
static isTouchDevice(): boolean\n
"},{"location":"modules/core/base/inputs/mouse.input.ts/#startinternal-method","title":"startInternal (method)","text":"Signature
protected startInternal()\n
"},{"location":"modules/core/base/inputs/mouse.input.ts/#stopinternal-method","title":"stopInternal (method)","text":"Stop listening for mouse movement events.
Signature
protected stopInternal(unlockPointer: boolean = true)\n
"},{"location":"modules/core/base/inputs/mouse.input.ts/#canvasclicklistener-method","title":"canvasClickListener (method)","text":"Request pointer lock on the canvas element.
Signature
private canvasClickListener(): void\n
"},{"location":"modules/core/base/inputs/mouse.input.ts/#mouseinputoptions-type-alias","title":"MouseInputOptions (type alias)","text":"Options for a MouseInput.
canvas?: Canvas element. If not provided, mouse events will be listened on the whole window pointerLock: The flag to enable pointer lock when clicking on canvas
Signature
export type MouseInputOptions = {\n canvas?: HTMLCanvasElement\n pointerLock: boolean\n}\n
"},{"location":"modules/core/base/interfaces/","title":"Modules","text":"Directory table of contents core/base/interfaces/i-debug-physics-drawer.ts core/base/interfaces/i-positionable.ts "},{"location":"modules/core/base/interfaces/i-debug-physics-drawer.ts/","title":"core/base/interfaces/i-debug-physics-drawer.ts","text":""},{"location":"modules/core/base/interfaces/i-debug-physics-drawer.ts/#i-debug-physics-drawer-overview","title":"i-debug-physics-drawer overviewTable of contents","text":" utils IDebugPhysicsDrawer (interface) "},{"location":"modules/core/base/interfaces/i-debug-physics-drawer.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/interfaces/i-debug-physics-drawer.ts/#idebugphysicsdrawer-interface","title":"IDebugPhysicsDrawer (interface)","text":"Signature
export interface IDebugPhysicsDrawer<D, R, TypeDoc extends VisualTypeDocRepo<D, R> = VisualTypeDocRepo<D, R>>\n extends IDisplayObjectComponent<D, R, TypeDoc> {\n drawContactPoint(point: D, normal: D, color?: Point3): void\n\n drawLine(from: D, to: D, color?: Point3): void\n\n update(): void\n}\n
"},{"location":"modules/core/base/interfaces/i-positionable.ts/","title":"core/base/interfaces/i-positionable.ts","text":""},{"location":"modules/core/base/interfaces/i-positionable.ts/#i-positionable-overview","title":"i-positionable overviewTable of contents","text":" utils IPositionable (interface) "},{"location":"modules/core/base/interfaces/i-positionable.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/interfaces/i-positionable.ts/#ipositionable-interface","title":"IPositionable (interface)","text":"Signature
export interface IPositionable<D, R> {\n position: D\n rotation: R\n}\n
"},{"location":"modules/core/base/math/","title":"Modules","text":"Directory table of contents core/base/math/box.ts core/base/math/matrix4.ts core/base/math/numbers.ts core/base/math/point2.ts core/base/math/point3.ts core/base/math/quaternion.ts core/base/math/splines.ts "},{"location":"modules/core/base/math/box.ts/","title":"core/base/math/box.ts","text":""},{"location":"modules/core/base/math/box.ts/#box-overview","title":"box overviewTable of contents","text":" utils Box (class) clone (static method) expandByPoint (static method) "},{"location":"modules/core/base/math/box.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/math/box.ts/#box-class","title":"Box (class)","text":"Signature
export declare class Box\n
"},{"location":"modules/core/base/math/box.ts/#clone-static-method","title":"clone (static method)","text":"Signature
static clone<T>(box: GgBox<T>): GgBox<T>\n
"},{"location":"modules/core/base/math/box.ts/#expandbypoint-static-method","title":"expandByPoint (static method)","text":"Signature
static expandByPoint<T>(box: GgBox<T>, point: T): GgBox<T>\n
"},{"location":"modules/core/base/math/matrix4.ts/","title":"core/base/math/matrix4.ts","text":""},{"location":"modules/core/base/math/matrix4.ts/#matrix4-overview","title":"matrix4 overviewTable of contents","text":""},{"location":"modules/core/base/math/matrix4.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/math/matrix4.ts/#mtrx4-class","title":"Mtrx4 (class)","text":"Signature
export declare class Mtrx4\n
"},{"location":"modules/core/base/math/matrix4.ts/#lookat-static-method","title":"lookAt (static method)","text":"creates a rotation matrix for object, so it will look at some point in space
Signature
static lookAt(eye: Point3, target: Point3, up: Point3): number[]\n
"},{"location":"modules/core/base/math/numbers.ts/","title":"core/base/math/numbers.ts","text":""},{"location":"modules/core/base/math/numbers.ts/#numbers-overview","title":"numbers overviewTable of contents","text":" utils averageAngle lerpNumber "},{"location":"modules/core/base/math/numbers.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/math/numbers.ts/#averageangle","title":"averageAngle","text":"Signature
export declare const averageAngle: (angleA: number, angleB: number, factor?: number) => number\n
"},{"location":"modules/core/base/math/numbers.ts/#lerpnumber","title":"lerpNumber","text":"Signature
export declare const lerpNumber: (a: number, b: number, t: number) => number\n
"},{"location":"modules/core/base/math/point2.ts/","title":"core/base/math/point2.ts","text":""},{"location":"modules/core/base/math/point2.ts/#point2-overview","title":"point2 overviewTable of contents","text":" utils Pnt2 (class) clone (static method) add (static method) sub (static method) avg (static method) lenSq (static method) len (static method) dist (static method) norm (static method) scalarMult (static method) lerp (static method) angle (static method) "},{"location":"modules/core/base/math/point2.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/math/point2.ts/#pnt2-class","title":"Pnt2 (class)","text":"Signature
export declare class Pnt2\n
"},{"location":"modules/core/base/math/point2.ts/#clone-static-method","title":"clone (static method)","text":"clone point
Signature
static clone(p: Point2): Point2\n
"},{"location":"modules/core/base/math/point2.ts/#add-static-method","title":"add (static method)","text":"add point b to point a
Signature
static add(a: Point2, b: Point2): Point2\n
"},{"location":"modules/core/base/math/point2.ts/#sub-static-method","title":"sub (static method)","text":"subtract point b from point a
Signature
static sub(a: Point2, b: Point2): Point2\n
"},{"location":"modules/core/base/math/point2.ts/#avg-static-method","title":"avg (static method)","text":"average point between a and b
Signature
static avg(a: Point2, b: Point2): Point2\n
"},{"location":"modules/core/base/math/point2.ts/#lensq-static-method","title":"lenSq (static method)","text":"calculate vector length (squared)
Signature
static lenSq(v: Point2)\n
"},{"location":"modules/core/base/math/point2.ts/#len-static-method","title":"len (static method)","text":"calculate vector length
Signature
static len(v: Point2)\n
"},{"location":"modules/core/base/math/point2.ts/#dist-static-method","title":"dist (static method)","text":"distance between points
Signature
static dist(a: Point2, b: Point2): number\n
"},{"location":"modules/core/base/math/point2.ts/#norm-static-method","title":"norm (static method)","text":"normalize
Signature
static norm(p: Point2): Point2\n
"},{"location":"modules/core/base/math/point2.ts/#scalarmult-static-method","title":"scalarMult (static method)","text":"scalar multiplication
Signature
static scalarMult(p: Point2, m: number): Point2\n
"},{"location":"modules/core/base/math/point2.ts/#lerp-static-method","title":"lerp (static method)","text":"linear interpolation
Signature
static lerp(a: Point2, b: Point2, t: number): Point2\n
"},{"location":"modules/core/base/math/point2.ts/#angle-static-method","title":"angle (static method)","text":"angle between vectors in radians
Signature
static angle(a: Point2, b: Point2): number\n
"},{"location":"modules/core/base/math/point3.ts/","title":"core/base/math/point3.ts","text":""},{"location":"modules/core/base/math/point3.ts/#point3-overview","title":"point3 overviewTable of contents","text":" utils Pnt3 (class) clone (static method) add (static method) sub (static method) avg (static method) lenSq (static method) len (static method) dist (static method) cross (static method) norm (static method) scalarMult (static method) lerp (static method) angle (static method) rot (static method) rotAround (static method) toSpherical (static method) fromSpherical (static method) "},{"location":"modules/core/base/math/point3.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/math/point3.ts/#pnt3-class","title":"Pnt3 (class)","text":"Signature
export declare class Pnt3\n
"},{"location":"modules/core/base/math/point3.ts/#clone-static-method","title":"clone (static method)","text":"clone point
Signature
static clone(p: Point3): Point3\n
"},{"location":"modules/core/base/math/point3.ts/#add-static-method","title":"add (static method)","text":"add point b to point a
Signature
static add(a: Point3, b: Point3): Point3\n
"},{"location":"modules/core/base/math/point3.ts/#sub-static-method","title":"sub (static method)","text":"subtract point b from point a
Signature
static sub(a: Point3, b: Point3): Point3\n
"},{"location":"modules/core/base/math/point3.ts/#avg-static-method","title":"avg (static method)","text":"average point between a and b
Signature
static avg(a: Point3, b: Point3): Point3\n
"},{"location":"modules/core/base/math/point3.ts/#lensq-static-method","title":"lenSq (static method)","text":"calculate vector length (squared)
Signature
static lenSq(v: Point3)\n
"},{"location":"modules/core/base/math/point3.ts/#len-static-method","title":"len (static method)","text":"calculate vector length
Signature
static len(v: Point3)\n
"},{"location":"modules/core/base/math/point3.ts/#dist-static-method","title":"dist (static method)","text":"distance between points
Signature
static dist(a: Point3, b: Point3): number\n
"},{"location":"modules/core/base/math/point3.ts/#cross-static-method","title":"cross (static method)","text":"cross vectors
Signature
static cross(a: Point3, b: Point3): Point3\n
"},{"location":"modules/core/base/math/point3.ts/#norm-static-method","title":"norm (static method)","text":"normalize
Signature
static norm(p: Point3): Point3\n
"},{"location":"modules/core/base/math/point3.ts/#scalarmult-static-method","title":"scalarMult (static method)","text":"scalar multiplication
Signature
static scalarMult(p: Point3, m: number): Point3\n
"},{"location":"modules/core/base/math/point3.ts/#lerp-static-method","title":"lerp (static method)","text":"linear interpolation
Signature
static lerp(a: Point3, b: Point3, t: number): Point3\n
"},{"location":"modules/core/base/math/point3.ts/#angle-static-method","title":"angle (static method)","text":"angle between vectors in radians
Signature
static angle(a: Point3, b: Point3): number\n
"},{"location":"modules/core/base/math/point3.ts/#rot-static-method","title":"rot (static method)","text":"rotate point a with quaternion q
Signature
static rot(p: Point3, q: Point4): Point3\n
"},{"location":"modules/core/base/math/point3.ts/#rotaround-static-method","title":"rotAround (static method)","text":"rotate point around axis a (normalized vector)
Signature
static rotAround(p: Point3, axis: Point3, angle: number): Point3\n
"},{"location":"modules/core/base/math/point3.ts/#tospherical-static-method","title":"toSpherical (static method)","text":"Converts a cartesian 3D point to a spherical coordinate system, where theta is azimuth and phi is inclination, theta == 0 is faced towards X axis direction, and phi == 0 is faced towards zenith (Z axis)
Signature
static toSpherical(p: Point3): Spherical\n
"},{"location":"modules/core/base/math/point3.ts/#fromspherical-static-method","title":"fromSpherical (static method)","text":"Converts a spherical coordinate system to a cartesian 3D point. Used spherical coordinates, where theta is azimuth and phi is inclination, theta == 0 is faced towards X axis direction, and phi == 0 is faced towards zenith (Z axis)
Signature
static fromSpherical(s: Spherical): Point3\n
"},{"location":"modules/core/base/math/quaternion.ts/","title":"core/base/math/quaternion.ts","text":""},{"location":"modules/core/base/math/quaternion.ts/#quaternion-overview","title":"quaternion overviewTable of contents","text":" utils Qtrn (class) clone (static method) add (static method) mult (static method) conjugate (static method) opposite (static method) combineRotations (static method) lerp (static method) slerp (static method) fromAngle (static method) fromMatrix4 (static method) fromEuler (static method) toEuler (static method) lookAt (static method) rotAround (static method) "},{"location":"modules/core/base/math/quaternion.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/math/quaternion.ts/#qtrn-class","title":"Qtrn (class)","text":"Helper class with static functions, containing util functions, related to Quaternion (represented as Point4 type). In terms of rotation, a quaternion is a mathematical representation of an orientation or rotation in 3D space. It consists of a scalar component and a vector component, and can be written as q = w + xi + yj + zk, where w is the scalar component, and i, j, and k are the vector components. The scalar component, w, represents the amount of rotation, and the vector component, (x, y, z), represents the axis of rotation. The length of the vector component represents the amount of rotation around the axis. Quaternions are often used in 3D computer graphics and animation because they can be used to interpolate between two rotations, and they can avoid some of the issues with using Euler angles (such as gimbal lock).
Signature
export declare class Qtrn\n
"},{"location":"modules/core/base/math/quaternion.ts/#clone-static-method","title":"clone (static method)","text":"Returns a new quaternion instance with the same values as the given quaternion object.
Signature
static clone(q: Point4): Point4\n
"},{"location":"modules/core/base/math/quaternion.ts/#add-static-method","title":"add (static method)","text":"Returns the sum of two Point4 objects.
Signature
static add(a: Point4, b: Point4): Point4\n
"},{"location":"modules/core/base/math/quaternion.ts/#mult-static-method","title":"mult (static method)","text":"Returns the result of multiplying two Point4 objects. This can be used for combining rotations
Signature
static mult(a: Point4, b: Point4): Point4\n
"},{"location":"modules/core/base/math/quaternion.ts/#conjugate-static-method","title":"conjugate (static method)","text":"Calculates and returns the conjugate of a quaternion. The conjugate of a quaternion is obtained by changing the sign of its vector components.
Signature
static conjugate(q: Point4): Point4\n
"},{"location":"modules/core/base/math/quaternion.ts/#opposite-static-method","title":"opposite (static method)","text":"Returns the opposite of a quaternion. It's obtained by negating all quaternion elements(x, y, z and w).
Signature
static opposite(q: Point4): Point4\n
"},{"location":"modules/core/base/math/quaternion.ts/#combinerotations-static-method","title":"combineRotations (static method)","text":"Combines an arbitrary number of quaternions by multiplying them together in order.
Signature
static combineRotations(...quaternions: Point4[]): Point4\n
"},{"location":"modules/core/base/math/quaternion.ts/#lerp-static-method","title":"lerp (static method)","text":"Performs a linear interpolation between two Point4 objects.
Signature
static lerp(a: Point4, b: Point4, t: number): Point4\n
"},{"location":"modules/core/base/math/quaternion.ts/#slerp-static-method","title":"slerp (static method)","text":"Performs a spherical linear interpolation between two Point4 objects.
Signature
static slerp(a: Point4, b: Point4, t: number): Point4\n
"},{"location":"modules/core/base/math/quaternion.ts/#fromangle-static-method","title":"fromAngle (static method)","text":"Converts an angle and an axis of rotation into a quaternion
Signature
static fromAngle(axis: Point3, angle: number)\n
"},{"location":"modules/core/base/math/quaternion.ts/#frommatrix4-static-method","title":"fromMatrix4 (static method)","text":"Converts a 4x4 matrix representing a rotation into a quaternion
Signature
static fromMatrix4(m: number[]): Point4\n
"},{"location":"modules/core/base/math/quaternion.ts/#fromeuler-static-method","title":"fromEuler (static method)","text":"Creates a quaternion from euler
Signature
static fromEuler(e: Point3): Point4\n
"},{"location":"modules/core/base/math/quaternion.ts/#toeuler-static-method","title":"toEuler (static method)","text":"Converts a quaternion to euler
Signature
static toEuler(q: Point4): Point3\n
"},{"location":"modules/core/base/math/quaternion.ts/#lookat-static-method","title":"lookAt (static method)","text":"Returns a quaternion that represents the rotation required to align an object to face towards a target point.
Signature
static lookAt(eye: Point3, target: Point3, up: Point3 = Pnt3.Z): Point4\n
"},{"location":"modules/core/base/math/quaternion.ts/#rotaround-static-method","title":"rotAround (static method)","text":"Returns a quaternion that represents the input quaternion, rotated around provided axis vector by provided angle. Assumes that axis vector is already normalized
Signature
static rotAround(q: Point4, axis: Point3, angle: number): Point4\n
"},{"location":"modules/core/base/math/splines.ts/","title":"core/base/math/splines.ts","text":""},{"location":"modules/core/base/math/splines.ts/#splines-overview","title":"splines overviewTable of contents","text":" utils cubicSplineInterpolation "},{"location":"modules/core/base/math/splines.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/math/splines.ts/#cubicsplineinterpolation","title":"cubicSplineInterpolation","text":"Signature
export declare const cubicSplineInterpolation: (\n x: number,\n x0: number,\n x1: number,\n y0: number,\n y1: number,\n m0: number,\n m1: number\n) => number\n
"},{"location":"modules/core/base/models/","title":"Modules","text":"Directory table of contents core/base/models/axis-directions.ts core/base/models/body-options.ts core/base/models/geometry-nodes.ts core/base/models/points.ts "},{"location":"modules/core/base/models/axis-directions.ts/","title":"core/base/models/axis-directions.ts","text":""},{"location":"modules/core/base/models/axis-directions.ts/#axis-directions-overview","title":"axis-directions overviewTable of contents","text":" utils AxisDirection2 (type alias) AxisDirection3 (type alias) AxisDirection4 (type alias) "},{"location":"modules/core/base/models/axis-directions.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/models/axis-directions.ts/#axisdirection2-type-alias","title":"AxisDirection2 (type alias)","text":"Signature
export type AxisDirection2 = 'x' | 'y' | '-x' | '-y'\n
"},{"location":"modules/core/base/models/axis-directions.ts/#axisdirection3-type-alias","title":"AxisDirection3 (type alias)","text":"Signature
export type AxisDirection3 = AxisDirection2 | 'z' | '-z'\n
"},{"location":"modules/core/base/models/axis-directions.ts/#axisdirection4-type-alias","title":"AxisDirection4 (type alias)","text":"Signature
export type AxisDirection4 = AxisDirection3 | 'w' | '-w'\n
"},{"location":"modules/core/base/models/body-options.ts/","title":"core/base/models/body-options.ts","text":""},{"location":"modules/core/base/models/body-options.ts/#body-options-overview","title":"body-options overviewTable of contents","text":" utils BodyOptions (interface) CollisionGroup (type alias) "},{"location":"modules/core/base/models/body-options.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/models/body-options.ts/#bodyoptions-interface","title":"BodyOptions (interface)","text":"Signature
export interface BodyOptions {\n dynamic: boolean\n mass: number\n restitution: number\n friction: number\n ownCollisionGroups: CollisionGroup[] | 'all'\n interactWithCollisionGroups: CollisionGroup[] | 'all'\n}\n
"},{"location":"modules/core/base/models/body-options.ts/#collisiongroup-type-alias","title":"CollisionGroup (type alias)","text":"Signature
export type CollisionGroup = number\n
"},{"location":"modules/core/base/models/geometry-nodes.ts/","title":"core/base/models/geometry-nodes.ts","text":""},{"location":"modules/core/base/models/geometry-nodes.ts/#geometry-nodes-overview","title":"geometry-nodes overviewTable of contents","text":" utils GgBox (type alias) GgBox2d (type alias) GgBox3d (type alias) "},{"location":"modules/core/base/models/geometry-nodes.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/models/geometry-nodes.ts/#ggbox-type-alias","title":"GgBox (type alias)","text":"Signature
export type GgBox<T> = { min: T; max: T }\n
"},{"location":"modules/core/base/models/geometry-nodes.ts/#ggbox2d-type-alias","title":"GgBox2d (type alias)","text":"Signature
export type GgBox2d = GgBox<Point2>\n
"},{"location":"modules/core/base/models/geometry-nodes.ts/#ggbox3d-type-alias","title":"GgBox3d (type alias)","text":"Signature
export type GgBox3d = GgBox<Point3>\n
"},{"location":"modules/core/base/models/points.ts/","title":"core/base/models/points.ts","text":""},{"location":"modules/core/base/models/points.ts/#points-overview","title":"points overviewTable of contents","text":" utils MutableSpherical (type alias) Point2 (type alias) Point3 (type alias) Point4 (type alias) Spherical (type alias) "},{"location":"modules/core/base/models/points.ts/#utils","title":"utils","text":""},{"location":"modules/core/base/models/points.ts/#mutablespherical-type-alias","title":"MutableSpherical (type alias)","text":"Signature
export type MutableSpherical = { radius: number; phi: number; theta: number }\n
"},{"location":"modules/core/base/models/points.ts/#point2-type-alias","title":"Point2 (type alias)","text":"Signature
export type Point2 = { readonly x: number; readonly y: number }\n
"},{"location":"modules/core/base/models/points.ts/#point3-type-alias","title":"Point3 (type alias)","text":"Signature
export type Point3 = { readonly x: number; readonly y: number; readonly z: number }\n
"},{"location":"modules/core/base/models/points.ts/#point4-type-alias","title":"Point4 (type alias)","text":"Signature
export type Point4 = { readonly x: number; readonly y: number; readonly z: number; readonly w: number }\n
"},{"location":"modules/core/base/models/points.ts/#spherical-type-alias","title":"Spherical (type alias)","text":"Signature
export type Spherical = { readonly radius: number; readonly phi: number; readonly theta: number }\n
"},{"location":"modules/core/dev/","title":"Modules","text":"Directory table of contents core/dev/gg-console.ui.ts core/dev/gg-debugger.ui.ts core/dev/gg-static.ts core/dev/index.ts "},{"location":"modules/core/dev/gg-console.ui.ts/","title":"core/dev/gg-console.ui.ts","text":""},{"location":"modules/core/dev/gg-console.ui.ts/#gg-consoleui-overview","title":"gg-console.ui overviewTable of contents","text":" utils GgConsoleUI (class) createUI (method) destroyUI (method) onUsePreviousCommand (method) onUseNextCommand (method) onInput (method) stdout (method) setupDragging (method) elements (property) "},{"location":"modules/core/dev/gg-console.ui.ts/#utils","title":"utils","text":""},{"location":"modules/core/dev/gg-console.ui.ts/#ggconsoleui-class","title":"GgConsoleUI (class)","text":"Signature
export declare class GgConsoleUI\n
"},{"location":"modules/core/dev/gg-console.ui.ts/#createui-method","title":"createUI (method)","text":"Signature
public createUI()\n
"},{"location":"modules/core/dev/gg-console.ui.ts/#destroyui-method","title":"destroyUI (method)","text":"Signature
public destroyUI()\n
"},{"location":"modules/core/dev/gg-console.ui.ts/#onusepreviouscommand-method","title":"onUsePreviousCommand (method)","text":"Signature
onUsePreviousCommand()\n
"},{"location":"modules/core/dev/gg-console.ui.ts/#onusenextcommand-method","title":"onUseNextCommand (method)","text":"Signature
onUseNextCommand()\n
"},{"location":"modules/core/dev/gg-console.ui.ts/#oninput-method","title":"onInput (method)","text":"Signature
async onInput()\n
"},{"location":"modules/core/dev/gg-console.ui.ts/#stdout-method","title":"stdout (method)","text":"Signature
private stdout(s: string = ''): void\n
"},{"location":"modules/core/dev/gg-console.ui.ts/#setupdragging-method","title":"setupDragging (method)","text":"Signature
setupDragging()\n
"},{"location":"modules/core/dev/gg-console.ui.ts/#elements-property","title":"elements (property)","text":"Signature
elements: { main: HTMLDivElement; input: HTMLInputElement; output: HTMLDivElement; } | null\n
"},{"location":"modules/core/dev/gg-debugger.ui.ts/","title":"core/dev/gg-debugger.ui.ts","text":""},{"location":"modules/core/dev/gg-debugger.ui.ts/#gg-debuggerui-overview","title":"gg-debugger.ui overviewTable of contents","text":" utils GgDebuggerUI (class) setShowStats (method) setShowDebugControls (method) "},{"location":"modules/core/dev/gg-debugger.ui.ts/#utils","title":"utils","text":""},{"location":"modules/core/dev/gg-debugger.ui.ts/#ggdebuggerui-class","title":"GgDebuggerUI (class)","text":"Signature
export declare class GgDebuggerUI\n
"},{"location":"modules/core/dev/gg-debugger.ui.ts/#setshowstats-method","title":"setShowStats (method)","text":"Signature
public setShowStats(selectedWorld: GgWorld<any, any>, value: boolean)\n
"},{"location":"modules/core/dev/gg-debugger.ui.ts/#setshowdebugcontrols-method","title":"setShowDebugControls (method)","text":"Signature
public setShowDebugControls(selectedWorld: GgWorld<any, any>, value: boolean)\n
"},{"location":"modules/core/dev/gg-static.ts/","title":"core/dev/gg-static.ts","text":""},{"location":"modules/core/dev/gg-static.ts/#gg-static-overview","title":"gg-static overviewTable of contents","text":" utils GgStatic (class) registerConsoleCommand (method) deregisterWorldCommands (method) console (method) runConsoleCommand (method) consoleKeyPressEventListener (property) consoleCommands (property) "},{"location":"modules/core/dev/gg-static.ts/#utils","title":"utils","text":""},{"location":"modules/core/dev/gg-static.ts/#ggstatic-class","title":"GgStatic (class)","text":"Signature
export declare class GgStatic {\n private constructor()\n}\n
"},{"location":"modules/core/dev/gg-static.ts/#registerconsolecommand-method","title":"registerConsoleCommand (method)","text":"Signature
public registerConsoleCommand(\n world: GgWorld<any, any> | null,\n command: string,\n handler: (...args: string[]) => Promise<string>,\n doc?: string,\n ): void\n
"},{"location":"modules/core/dev/gg-static.ts/#deregisterworldcommands-method","title":"deregisterWorldCommands (method)","text":"Signature
public deregisterWorldCommands(world: GgWorld<any, any> | null): void\n
"},{"location":"modules/core/dev/gg-static.ts/#console-method","title":"console (method)","text":"Signature
public async console(input: string): Promise<string>\n
"},{"location":"modules/core/dev/gg-static.ts/#runconsolecommand-method","title":"runConsoleCommand (method)","text":"Signature
public async runConsoleCommand(command: string, args: string[]): Promise<string>\n
"},{"location":"modules/core/dev/gg-static.ts/#consolekeypresseventlistener-property","title":"consoleKeyPressEventListener (property)","text":"Signature
consoleKeyPressEventListener: (event: KeyboardEvent) => void\n
"},{"location":"modules/core/dev/gg-static.ts/#consolecommands-property","title":"consoleCommands (property)","text":"Signature
consoleCommands: any\n
"},{"location":"modules/core/dev/index.ts/","title":"core/dev/index.ts","text":""},{"location":"modules/core/dev/index.ts/#index-overview","title":"index overviewTable of contents","text":""},{"location":"modules/matter/","title":"Modules","text":"Directory table of contents matter/components matter/matter-factory.ts matter/types.ts "},{"location":"modules/matter/matter-factory.ts/","title":"matter/matter-factory.ts","text":""},{"location":"modules/matter/matter-factory.ts/#matter-factory-overview","title":"matter-factory overviewTable of contents","text":" utils MatterFactory (class) createRigidBody (method) createTrigger (method) transformOptions (method) "},{"location":"modules/matter/matter-factory.ts/#utils","title":"utils","text":""},{"location":"modules/matter/matter-factory.ts/#matterfactory-class","title":"MatterFactory (class)","text":"Signature
export declare class MatterFactory\n
"},{"location":"modules/matter/matter-factory.ts/#createrigidbody-method","title":"createRigidBody (method)","text":"Signature
createRigidBody(\n descriptor: BodyShape2DDescriptor,\n transform?: {\n position?: Point2;\n rotation?: number;\n },\n ): MatterRigidBodyComponent\n
"},{"location":"modules/matter/matter-factory.ts/#createtrigger-method","title":"createTrigger (method)","text":"Signature
createTrigger(\n descriptor: Shape2DDescriptor,\n transform?: {\n position?: Point2;\n rotation?: number;\n },\n ): never\n
"},{"location":"modules/matter/matter-factory.ts/#transformoptions-method","title":"transformOptions (method)","text":"Signature
private transformOptions(options: Partial<Body2DOptions>): IBodyDefinition\n
"},{"location":"modules/matter/types.ts/","title":"matter/types.ts","text":""},{"location":"modules/matter/types.ts/#types-overview","title":"types overviewTable of contents","text":" utils MatterPhysicsTypeDocRepo (type alias) "},{"location":"modules/matter/types.ts/#utils","title":"utils","text":""},{"location":"modules/matter/types.ts/#matterphysicstypedocrepo-type-alias","title":"MatterPhysicsTypeDocRepo (type alias)","text":"Signature
export type MatterPhysicsTypeDocRepo = {\n factory: MatterFactory\n rigidBody: MatterRigidBodyComponent\n trigger: never\n}\n
"},{"location":"modules/matter/components/","title":"Modules","text":"Directory table of contents matter/components/matter-rigid-body.component.ts matter/components/matter-world.component.ts "},{"location":"modules/matter/components/matter-rigid-body.component.ts/","title":"matter/components/matter-rigid-body.component.ts","text":""},{"location":"modules/matter/components/matter-rigid-body.component.ts/#matter-rigid-bodycomponent-overview","title":"matter-rigid-body.component overviewTable of contents","text":" utils MatterRigidBodyComponent (class) clone (method) addToWorld (method) removeFromWorld (method) dispose (method) resetMotion (method) name (property) entity (property) "},{"location":"modules/matter/components/matter-rigid-body.component.ts/#utils","title":"utils","text":""},{"location":"modules/matter/components/matter-rigid-body.component.ts/#matterrigidbodycomponent-class","title":"MatterRigidBodyComponent (class)","text":"Signature
export declare class MatterRigidBodyComponent {\n constructor(public nativeBody: Body)\n}\n
"},{"location":"modules/matter/components/matter-rigid-body.component.ts/#clone-method","title":"clone (method)","text":"Signature
clone(): MatterRigidBodyComponent\n
"},{"location":"modules/matter/components/matter-rigid-body.component.ts/#addtoworld-method","title":"addToWorld (method)","text":"Signature
addToWorld(\n world: Gg2dWorld<VisualTypeDocRepo2D, MatterPhysicsTypeDocRepo, IVisualScene2dComponent, MatterWorldComponent>,\n ): void\n
"},{"location":"modules/matter/components/matter-rigid-body.component.ts/#removefromworld-method","title":"removeFromWorld (method)","text":"Signature
removeFromWorld(\n world: Gg2dWorld<VisualTypeDocRepo2D, MatterPhysicsTypeDocRepo, IVisualScene2dComponent, MatterWorldComponent>,\n ): void\n
"},{"location":"modules/matter/components/matter-rigid-body.component.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose(): void\n
"},{"location":"modules/matter/components/matter-rigid-body.component.ts/#resetmotion-method","title":"resetMotion (method)","text":"Signature
resetMotion(): void\n
"},{"location":"modules/matter/components/matter-rigid-body.component.ts/#name-property","title":"name (property)","text":"Signature
name: string\n
"},{"location":"modules/matter/components/matter-rigid-body.component.ts/#entity-property","title":"entity (property)","text":"Signature
entity: any\n
"},{"location":"modules/matter/components/matter-world.component.ts/","title":"matter/components/matter-world.component.ts","text":""},{"location":"modules/matter/components/matter-world.component.ts/#matter-worldcomponent-overview","title":"matter-world.component overviewTable of contents","text":" utils MatterWorldComponent (class) init (method) registerCollisionGroup (method) deregisterCollisionGroup (method) simulate (method) startDebugger (method) stopDebugger (method) dispose (method) matterEngine (property) factory (property) "},{"location":"modules/matter/components/matter-world.component.ts/#utils","title":"utils","text":""},{"location":"modules/matter/components/matter-world.component.ts/#matterworldcomponent-class","title":"MatterWorldComponent (class)","text":"Signature
export declare class MatterWorldComponent\n
"},{"location":"modules/matter/components/matter-world.component.ts/#init-method","title":"init (method)","text":"Signature
async init(): Promise<void>\n
"},{"location":"modules/matter/components/matter-world.component.ts/#registercollisiongroup-method","title":"registerCollisionGroup (method)","text":"Signature
registerCollisionGroup(): CollisionGroup\n
"},{"location":"modules/matter/components/matter-world.component.ts/#deregistercollisiongroup-method","title":"deregisterCollisionGroup (method)","text":"Signature
deregisterCollisionGroup(group: CollisionGroup): void\n
"},{"location":"modules/matter/components/matter-world.component.ts/#simulate-method","title":"simulate (method)","text":"Signature
simulate(delta: number): void\n
"},{"location":"modules/matter/components/matter-world.component.ts/#startdebugger-method","title":"startDebugger (method)","text":"Signature
startDebugger(world: Gg2dWorld, drawer: IDebugPhysicsDrawer<Point2, number>): void\n
"},{"location":"modules/matter/components/matter-world.component.ts/#stopdebugger-method","title":"stopDebugger (method)","text":"Signature
stopDebugger(): void\n
"},{"location":"modules/matter/components/matter-world.component.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose(): void\n
"},{"location":"modules/matter/components/matter-world.component.ts/#matterengine-property","title":"matterEngine (property)","text":"Signature
matterEngine: any\n
"},{"location":"modules/matter/components/matter-world.component.ts/#factory-property","title":"factory (property)","text":"Signature
readonly factory: MatterFactory\n
"},{"location":"modules/pixi/","title":"Modules","text":"Directory table of contents pixi/components pixi/pixi-factory.ts pixi/types.ts "},{"location":"modules/pixi/pixi-factory.ts/","title":"pixi/pixi-factory.ts","text":""},{"location":"modules/pixi/pixi-factory.ts/#pixi-factory-overview","title":"pixi-factory overviewTable of contents","text":" utils PixiDisplayObject3dOpts (type alias) PixiFactory (class) "},{"location":"modules/pixi/pixi-factory.ts/#utils","title":"utils","text":""},{"location":"modules/pixi/pixi-factory.ts/#pixidisplayobject3dopts-type-alias","title":"PixiDisplayObject3dOpts (type alias)","text":"Signature
export type PixiDisplayObject3dOpts = DisplayObject2dOpts<Texture>\n
"},{"location":"modules/pixi/pixi-factory.ts/#pixifactory-class","title":"PixiFactory (class)","text":"Signature
export declare class PixiFactory\n
"},{"location":"modules/pixi/pixi-factory.ts/#createprimitive-method","title":"createPrimitive (method)","text":"Signature
createPrimitive(descriptor: Shape2DDescriptor, material: PixiDisplayObject3dOpts = {}): PixiDisplayObjectComponent\n
"},{"location":"modules/pixi/types.ts/","title":"pixi/types.ts","text":""},{"location":"modules/pixi/types.ts/#types-overview","title":"types overviewTable of contents","text":" utils PixiVisualTypeDocRepo2D (type alias) "},{"location":"modules/pixi/types.ts/#utils","title":"utils","text":""},{"location":"modules/pixi/types.ts/#pixivisualtypedocrepo2d-type-alias","title":"PixiVisualTypeDocRepo2D (type alias)","text":"Signature
export type PixiVisualTypeDocRepo2D = {\n factory: PixiFactory\n displayObject: PixiDisplayObjectComponent\n renderer: PixiRendererComponent\n texture: Texture\n}\n
"},{"location":"modules/pixi/components/","title":"Modules","text":"Directory table of contents pixi/components/pixi-display-object.component.ts pixi/components/pixi-renderer.component.ts pixi/components/pixi-scene.component.ts "},{"location":"modules/pixi/components/pixi-display-object.component.ts/","title":"pixi/components/pixi-display-object.component.ts","text":""},{"location":"modules/pixi/components/pixi-display-object.component.ts/#pixi-display-objectcomponent-overview","title":"pixi-display-object.component overviewTable of contents","text":" utils PixiDisplayObjectComponent (class) isEmpty (method) popChild (method) getBoundings (method) clone (method) addToWorld (method) removeFromWorld (method) dispose (method) entity (property) name (property) "},{"location":"modules/pixi/components/pixi-display-object.component.ts/#utils","title":"utils","text":""},{"location":"modules/pixi/components/pixi-display-object.component.ts/#pixidisplayobjectcomponent-class","title":"PixiDisplayObjectComponent (class)","text":"Signature
export declare class PixiDisplayObjectComponent {\n constructor(public nativeSprite: DisplayObject)\n}\n
"},{"location":"modules/pixi/components/pixi-display-object.component.ts/#isempty-method","title":"isEmpty (method)","text":"Signature
public isEmpty(): boolean\n
"},{"location":"modules/pixi/components/pixi-display-object.component.ts/#popchild-method","title":"popChild (method)","text":"Signature
popChild(name: string): PixiDisplayObjectComponent | null\n
"},{"location":"modules/pixi/components/pixi-display-object.component.ts/#getboundings-method","title":"getBoundings (method)","text":"Signature
getBoundings(): GgBox2d\n
"},{"location":"modules/pixi/components/pixi-display-object.component.ts/#clone-method","title":"clone (method)","text":"Signature
clone(): PixiDisplayObjectComponent\n
"},{"location":"modules/pixi/components/pixi-display-object.component.ts/#addtoworld-method","title":"addToWorld (method)","text":"Signature
addToWorld(world: Gg2dWorld<PixiVisualTypeDocRepo2D, PhysicsTypeDocRepo2D, PixiSceneComponent>): void\n
"},{"location":"modules/pixi/components/pixi-display-object.component.ts/#removefromworld-method","title":"removeFromWorld (method)","text":"Signature
removeFromWorld(world: Gg2dWorld<PixiVisualTypeDocRepo2D, PhysicsTypeDocRepo2D, PixiSceneComponent>): void\n
"},{"location":"modules/pixi/components/pixi-display-object.component.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose(): void\n
"},{"location":"modules/pixi/components/pixi-display-object.component.ts/#entity-property","title":"entity (property)","text":"Signature
entity: any\n
"},{"location":"modules/pixi/components/pixi-display-object.component.ts/#name-property","title":"name (property)","text":"Signature
name: string\n
"},{"location":"modules/pixi/components/pixi-renderer.component.ts/","title":"pixi/components/pixi-renderer.component.ts","text":""},{"location":"modules/pixi/components/pixi-renderer.component.ts/#pixi-renderercomponent-overview","title":"pixi-renderer.component overviewTable of contents","text":" utils PixiRendererComponent (class) resizeRenderer (method) addToWorld (method) removeFromWorld (method) render (method) dispose (method) application (property) "},{"location":"modules/pixi/components/pixi-renderer.component.ts/#utils","title":"utils","text":""},{"location":"modules/pixi/components/pixi-renderer.component.ts/#pixirenderercomponent-class","title":"PixiRendererComponent (class)","text":"Signature
export declare class PixiRendererComponent {\n constructor(\n public readonly scene: PixiSceneComponent,\n public readonly canvas?: HTMLCanvasElement,\n options: Partial<RendererOptions> = {}\n )\n}\n
"},{"location":"modules/pixi/components/pixi-renderer.component.ts/#resizerenderer-method","title":"resizeRenderer (method)","text":"Signature
resizeRenderer(newSize: Point2): void\n
"},{"location":"modules/pixi/components/pixi-renderer.component.ts/#addtoworld-method","title":"addToWorld (method)","text":"Signature
addToWorld(world: Gg2dWorld<PixiVisualTypeDocRepo2D>): void\n
"},{"location":"modules/pixi/components/pixi-renderer.component.ts/#removefromworld-method","title":"removeFromWorld (method)","text":"Signature
removeFromWorld(world: Gg2dWorld<PixiVisualTypeDocRepo2D>): void\n
"},{"location":"modules/pixi/components/pixi-renderer.component.ts/#render-method","title":"render (method)","text":"Signature
render(): void\n
"},{"location":"modules/pixi/components/pixi-renderer.component.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose(): void\n
"},{"location":"modules/pixi/components/pixi-renderer.component.ts/#application-property","title":"application (property)","text":"Signature
readonly application: any\n
"},{"location":"modules/pixi/components/pixi-scene.component.ts/","title":"pixi/components/pixi-scene.component.ts","text":""},{"location":"modules/pixi/components/pixi-scene.component.ts/#pixi-scenecomponent-overview","title":"pixi-scene.component overviewTable of contents","text":" utils PixiSceneComponent (class) init (method) createRenderer (method) dispose (method) factory (property) "},{"location":"modules/pixi/components/pixi-scene.component.ts/#utils","title":"utils","text":""},{"location":"modules/pixi/components/pixi-scene.component.ts/#pixiscenecomponent-class","title":"PixiSceneComponent (class)","text":"Signature
export declare class PixiSceneComponent\n
"},{"location":"modules/pixi/components/pixi-scene.component.ts/#init-method","title":"init (method)","text":"Signature
async init(): Promise<void>\n
"},{"location":"modules/pixi/components/pixi-scene.component.ts/#createrenderer-method","title":"createRenderer (method)","text":"Signature
createRenderer(canvas?: HTMLCanvasElement, rendererOptions?: Partial<RendererOptions>): PixiRendererComponent\n
"},{"location":"modules/pixi/components/pixi-scene.component.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose(): void\n
"},{"location":"modules/pixi/components/pixi-scene.component.ts/#factory-property","title":"factory (property)","text":"Signature
readonly factory: PixiFactory\n
"},{"location":"modules/rapier2d/","title":"Modules","text":"Directory table of contents rapier2d/components rapier2d/index.ts rapier2d/rapier-2d-factory.ts rapier2d/types.ts "},{"location":"modules/rapier2d/index.ts/","title":"rapier2d/index.ts","text":""},{"location":"modules/rapier2d/index.ts/#index-overview","title":"index overviewTable of contents","text":""},{"location":"modules/rapier2d/rapier-2d-factory.ts/","title":"rapier2d/rapier-2d-factory.ts","text":""},{"location":"modules/rapier2d/rapier-2d-factory.ts/#rapier-2d-factory-overview","title":"rapier-2d-factory overviewTable of contents","text":" utils Rapier2dFactory (class) createRigidBody (method) createTrigger (method) createColliderDescr (method) createRigidBodyDescr (method) "},{"location":"modules/rapier2d/rapier-2d-factory.ts/#utils","title":"utils","text":""},{"location":"modules/rapier2d/rapier-2d-factory.ts/#rapier2dfactory-class","title":"Rapier2dFactory (class)","text":"Signature
export declare class Rapier2dFactory {\n constructor(protected readonly world: Rapier2dWorldComponent)\n}\n
"},{"location":"modules/rapier2d/rapier-2d-factory.ts/#createrigidbody-method","title":"createRigidBody (method)","text":"Signature
createRigidBody(\n descriptor: BodyShape2DDescriptor,\n transform?: {\n position?: Point2;\n rotation?: number;\n },\n ): Rapier2dRigidBodyComponent\n
"},{"location":"modules/rapier2d/rapier-2d-factory.ts/#createtrigger-method","title":"createTrigger (method)","text":"Signature
createTrigger(\n descriptor: Shape2DDescriptor,\n transform?: {\n position?: Point2;\n rotation?: number;\n },\n ): Rapier2dTriggerComponent\n
"},{"location":"modules/rapier2d/rapier-2d-factory.ts/#createcolliderdescr-method","title":"createColliderDescr (method)","text":"Signature
public createColliderDescr(descriptor: Shape2DDescriptor): ColliderDesc[]\n
"},{"location":"modules/rapier2d/rapier-2d-factory.ts/#createrigidbodydescr-method","title":"createRigidBodyDescr (method)","text":"Signature
public createRigidBodyDescr(\n options: Partial<Body2DOptions>,\n transform?: { position?: Point2; rotation?: number },\n ): RigidBodyDesc\n
"},{"location":"modules/rapier2d/types.ts/","title":"rapier2d/types.ts","text":""},{"location":"modules/rapier2d/types.ts/#types-overview","title":"types overviewTable of contents","text":" utils Rapier2dPhysicsTypeDocRepo (type alias) "},{"location":"modules/rapier2d/types.ts/#utils","title":"utils","text":""},{"location":"modules/rapier2d/types.ts/#rapier2dphysicstypedocrepo-type-alias","title":"Rapier2dPhysicsTypeDocRepo (type alias)","text":"Signature
export type Rapier2dPhysicsTypeDocRepo = {\n factory: Rapier2dFactory\n rigidBody: Rapier2dRigidBodyComponent\n trigger: Rapier2dTriggerComponent\n}\n
"},{"location":"modules/rapier2d/components/","title":"Modules","text":"Directory table of contents rapier2d/components/rapier-2d-rigid-body.component.ts rapier2d/components/rapier-2d-trigger.component.ts rapier2d/components/rapier-2d-world.component.ts "},{"location":"modules/rapier2d/components/rapier-2d-rigid-body.component.ts/","title":"rapier2d/components/rapier-2d-rigid-body.component.ts","text":""},{"location":"modules/rapier2d/components/rapier-2d-rigid-body.component.ts/#rapier-2d-rigid-bodycomponent-overview","title":"rapier-2d-rigid-body.component overviewTable of contents","text":" utils Rapier2dRigidBodyComponent (class) clone (method) addToWorld (method) removeFromWorld (method) resetMotion (method) dispose (method) entity (property) _nativeBody (property) _nativeBodyColliders (property) name (property) collisionGroups (property) "},{"location":"modules/rapier2d/components/rapier-2d-rigid-body.component.ts/#utils","title":"utils","text":""},{"location":"modules/rapier2d/components/rapier-2d-rigid-body.component.ts/#rapier2drigidbodycomponent-class","title":"Rapier2dRigidBodyComponent (class)","text":"Signature
export declare class Rapier2dRigidBodyComponent {\n constructor(\n protected readonly world: Rapier2dWorldComponent,\n protected _colliderDescr: ColliderDesc[],\n protected _bodyDescr: RigidBodyDesc,\n protected _colliderOptions: Omit<Omit<Body2DOptions, 'dynamic'>, 'mass'>\n )\n}\n
"},{"location":"modules/rapier2d/components/rapier-2d-rigid-body.component.ts/#clone-method","title":"clone (method)","text":"Signature
clone(): Rapier2dRigidBodyComponent\n
"},{"location":"modules/rapier2d/components/rapier-2d-rigid-body.component.ts/#addtoworld-method","title":"addToWorld (method)","text":"Signature
addToWorld(world: Gg2dWorld<VisualTypeDocRepo2D, Rapier2dPhysicsTypeDocRepo>): void\n
"},{"location":"modules/rapier2d/components/rapier-2d-rigid-body.component.ts/#removefromworld-method","title":"removeFromWorld (method)","text":"Signature
removeFromWorld(world: Gg2dWorld<VisualTypeDocRepo2D, Rapier2dPhysicsTypeDocRepo>): void\n
"},{"location":"modules/rapier2d/components/rapier-2d-rigid-body.component.ts/#resetmotion-method","title":"resetMotion (method)","text":"Signature
resetMotion(): void\n
"},{"location":"modules/rapier2d/components/rapier-2d-rigid-body.component.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose(): void\n
"},{"location":"modules/rapier2d/components/rapier-2d-rigid-body.component.ts/#entity-property","title":"entity (property)","text":"Signature
entity: any\n
"},{"location":"modules/rapier2d/components/rapier-2d-rigid-body.component.ts/#_nativebody-property","title":"_nativeBody (property)","text":"Signature
_nativeBody: any\n
"},{"location":"modules/rapier2d/components/rapier-2d-rigid-body.component.ts/#_nativebodycolliders-property","title":"_nativeBodyColliders (property)","text":"Signature
_nativeBodyColliders: any[] | null\n
"},{"location":"modules/rapier2d/components/rapier-2d-rigid-body.component.ts/#name-property","title":"name (property)","text":"Signature
name: string\n
"},{"location":"modules/rapier2d/components/rapier-2d-rigid-body.component.ts/#collisiongroups-property","title":"collisionGroups (property)","text":"Signature
collisionGroups: any\n
"},{"location":"modules/rapier2d/components/rapier-2d-trigger.component.ts/","title":"rapier2d/components/rapier-2d-trigger.component.ts","text":""},{"location":"modules/rapier2d/components/rapier-2d-trigger.component.ts/#rapier-2d-triggercomponent-overview","title":"rapier-2d-trigger.component overviewTable of contents","text":" utils Rapier2dTriggerComponent (class) addToWorld (method) checkOverlaps (method) clone (method) onEnter$ (property) onLeft$ (property) "},{"location":"modules/rapier2d/components/rapier-2d-trigger.component.ts/#utils","title":"utils","text":""},{"location":"modules/rapier2d/components/rapier-2d-trigger.component.ts/#rapier2dtriggercomponent-class","title":"Rapier2dTriggerComponent (class)","text":"Signature
export declare class Rapier2dTriggerComponent {\n constructor(\n protected readonly world: Rapier2dWorldComponent,\n protected _colliderDescr: ColliderDesc[],\n protected _bodyDescr: RigidBodyDesc\n )\n}\n
"},{"location":"modules/rapier2d/components/rapier-2d-trigger.component.ts/#addtoworld-method","title":"addToWorld (method)","text":"Signature
addToWorld(world: Gg2dWorld<VisualTypeDocRepo2D, Rapier2dPhysicsTypeDocRepo>): void\n
"},{"location":"modules/rapier2d/components/rapier-2d-trigger.component.ts/#checkoverlaps-method","title":"checkOverlaps (method)","text":"Signature
checkOverlaps(): void\n
"},{"location":"modules/rapier2d/components/rapier-2d-trigger.component.ts/#clone-method","title":"clone (method)","text":"Signature
clone(): Rapier2dTriggerComponent\n
"},{"location":"modules/rapier2d/components/rapier-2d-trigger.component.ts/#onenter-property","title":"onEnter$ (property)","text":"Signature
readonly onEnter$: any\n
"},{"location":"modules/rapier2d/components/rapier-2d-trigger.component.ts/#onleft-property","title":"onLeft$ (property)","text":"Signature
readonly onLeft$: any\n
"},{"location":"modules/rapier2d/components/rapier-2d-world.component.ts/","title":"rapier2d/components/rapier-2d-world.component.ts","text":""},{"location":"modules/rapier2d/components/rapier-2d-world.component.ts/#rapier-2d-worldcomponent-overview","title":"rapier-2d-world.component overviewTable of contents","text":" utils Rapier2dWorldComponent (class) init (method) simulate (method) registerCollisionGroup (method) deregisterCollisionGroup (method) startDebugger (method) stopDebugger (method) dispose (method) _nativeWorld (property) handleIdEntityMap (property) lockedCollisionGroups (property) "},{"location":"modules/rapier2d/components/rapier-2d-world.component.ts/#utils","title":"utils","text":""},{"location":"modules/rapier2d/components/rapier-2d-world.component.ts/#rapier2dworldcomponent-class","title":"Rapier2dWorldComponent (class)","text":"Signature
export declare class Rapier2dWorldComponent\n
"},{"location":"modules/rapier2d/components/rapier-2d-world.component.ts/#init-method","title":"init (method)","text":"Signature
async init(): Promise<void>\n
"},{"location":"modules/rapier2d/components/rapier-2d-world.component.ts/#simulate-method","title":"simulate (method)","text":"Signature
simulate(delta: number): void\n
"},{"location":"modules/rapier2d/components/rapier-2d-world.component.ts/#registercollisiongroup-method","title":"registerCollisionGroup (method)","text":"Signature
registerCollisionGroup(): CollisionGroup\n
"},{"location":"modules/rapier2d/components/rapier-2d-world.component.ts/#deregistercollisiongroup-method","title":"deregisterCollisionGroup (method)","text":"Signature
deregisterCollisionGroup(group: CollisionGroup): void\n
"},{"location":"modules/rapier2d/components/rapier-2d-world.component.ts/#startdebugger-method","title":"startDebugger (method)","text":"Signature
startDebugger(world: Gg2dWorld, drawer: IDebugPhysicsDrawer<Point2, number>): void\n
"},{"location":"modules/rapier2d/components/rapier-2d-world.component.ts/#stopdebugger-method","title":"stopDebugger (method)","text":"Signature
stopDebugger(): void\n
"},{"location":"modules/rapier2d/components/rapier-2d-world.component.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose(): void\n
"},{"location":"modules/rapier2d/components/rapier-2d-world.component.ts/#_nativeworld-property","title":"_nativeWorld (property)","text":"Signature
_nativeWorld: any\n
"},{"location":"modules/rapier2d/components/rapier-2d-world.component.ts/#handleidentitymap-property","title":"handleIdEntityMap (property)","text":"Signature
readonly handleIdEntityMap: any\n
"},{"location":"modules/rapier2d/components/rapier-2d-world.component.ts/#lockedcollisiongroups-property","title":"lockedCollisionGroups (property)","text":"Signature
lockedCollisionGroups: number[]\n
"},{"location":"modules/rapier3d/","title":"Modules","text":"Directory table of contents rapier3d/components rapier3d/index.ts rapier3d/rapier-3d-factory.ts rapier3d/rapier-3d-loader.ts rapier3d/types.ts "},{"location":"modules/rapier3d/index.ts/","title":"rapier3d/index.ts","text":""},{"location":"modules/rapier3d/index.ts/#index-overview","title":"index overviewTable of contents","text":""},{"location":"modules/rapier3d/rapier-3d-factory.ts/","title":"rapier3d/rapier-3d-factory.ts","text":""},{"location":"modules/rapier3d/rapier-3d-factory.ts/#rapier-3d-factory-overview","title":"rapier-3d-factory overviewTable of contents","text":" utils Rapier3dFactory (class) createRigidBody (method) createTrigger (method) createRaycastVehicle (method) createColliderDescr (method) createRigidBodyDescr (method) "},{"location":"modules/rapier3d/rapier-3d-factory.ts/#utils","title":"utils","text":""},{"location":"modules/rapier3d/rapier-3d-factory.ts/#rapier3dfactory-class","title":"Rapier3dFactory (class)","text":"Signature
export declare class Rapier3dFactory {\n constructor(protected readonly world: Rapier3dWorldComponent)\n}\n
"},{"location":"modules/rapier3d/rapier-3d-factory.ts/#createrigidbody-method","title":"createRigidBody (method)","text":"Signature
createRigidBody(\n descriptor: BodyShape3DDescriptor,\n transform?: {\n position?: Point3;\n rotation?: Point4;\n },\n ): Rapier3dRigidBodyComponent\n
"},{"location":"modules/rapier3d/rapier-3d-factory.ts/#createtrigger-method","title":"createTrigger (method)","text":"Signature
createTrigger(\n descriptor: Shape3DDescriptor,\n transform?: {\n position?: Point3;\n rotation?: Point4;\n },\n ): Rapier3dTriggerComponent\n
"},{"location":"modules/rapier3d/rapier-3d-factory.ts/#createraycastvehicle-method","title":"createRaycastVehicle (method)","text":"Signature
createRaycastVehicle(chassis: Rapier3dRigidBodyComponent): never\n
"},{"location":"modules/rapier3d/rapier-3d-factory.ts/#createcolliderdescr-method","title":"createColliderDescr (method)","text":"Signature
public createColliderDescr(descriptor: Shape3DDescriptor): ColliderDesc[]\n
"},{"location":"modules/rapier3d/rapier-3d-factory.ts/#createrigidbodydescr-method","title":"createRigidBodyDescr (method)","text":"Signature
public createRigidBodyDescr(\n options: Partial<Body3DOptions>,\n transform?: { position?: Point3; rotation?: Point4 },\n ): RigidBodyDesc\n
"},{"location":"modules/rapier3d/rapier-3d-loader.ts/","title":"rapier3d/rapier-3d-loader.ts","text":""},{"location":"modules/rapier3d/rapier-3d-loader.ts/#rapier-3d-loader-overview","title":"rapier-3d-loader overviewTable of contents","text":" utils Rapier3dLoader (class) "},{"location":"modules/rapier3d/rapier-3d-loader.ts/#utils","title":"utils","text":""},{"location":"modules/rapier3d/rapier-3d-loader.ts/#rapier3dloader-class","title":"Rapier3dLoader (class)","text":"Signature
export declare class Rapier3dLoader {\n constructor(protected readonly world: Rapier3dWorldComponent)\n}\n
"},{"location":"modules/rapier3d/types.ts/","title":"rapier3d/types.ts","text":""},{"location":"modules/rapier3d/types.ts/#types-overview","title":"types overviewTable of contents","text":" utils Rapier3dPhysicsTypeDocRepo (type alias) "},{"location":"modules/rapier3d/types.ts/#utils","title":"utils","text":""},{"location":"modules/rapier3d/types.ts/#rapier3dphysicstypedocrepo-type-alias","title":"Rapier3dPhysicsTypeDocRepo (type alias)","text":"Signature
export type Rapier3dPhysicsTypeDocRepo = {\n factory: Rapier3dFactory\n loader: Rapier3dLoader\n rigidBody: Rapier3dRigidBodyComponent\n trigger: Rapier3dTriggerComponent\n raycastVehicle: never //Rapier3dRaycastVehicleComponent;\n}\n
"},{"location":"modules/rapier3d/components/","title":"Modules","text":"Directory table of contents rapier3d/components/rapier-3d-raycast-vehicle.component.ts rapier3d/components/rapier-3d-rigid-body.component.ts rapier3d/components/rapier-3d-trigger.component.ts rapier3d/components/rapier-3d-world.component.ts "},{"location":"modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/","title":"rapier3d/components/rapier-3d-raycast-vehicle.component.ts","text":""},{"location":"modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/#rapier-3d-raycast-vehiclecomponent-overview","title":"rapier-3d-raycast-vehicle.component overviewTable of contents","text":" utils Rapier3dRaycastVehicleComponent (class) addToWorld (method) removeFromWorld (method) addWheel (method) setSteering (method) applyEngineForce (method) applyBrake (method) isWheelTouchesGround (method) getWheelTransform (method) resetSuspension (method) clone (method) dispose (method) _nativeVehicle (property) "},{"location":"modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/#utils","title":"utils","text":""},{"location":"modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/#rapier3draycastvehiclecomponent-class","title":"Rapier3dRaycastVehicleComponent (class)","text":"Signature
export declare class Rapier3dRaycastVehicleComponent {\n constructor(protected readonly world: Rapier3dWorldComponent, private chassisBody: Rapier3dRigidBodyComponent)\n}\n
"},{"location":"modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/#addtoworld-method","title":"addToWorld (method)","text":"Signature
addToWorld(\n world: Gg3dWorld<VisualTypeDocRepo3D, Rapier3dPhysicsTypeDocRepo, IVisualScene3dComponent, Rapier3dWorldComponent>,\n )\n
"},{"location":"modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/#removefromworld-method","title":"removeFromWorld (method)","text":"Signature
removeFromWorld(\n world: Gg3dWorld<VisualTypeDocRepo3D, Rapier3dPhysicsTypeDocRepo, IVisualScene3dComponent, Rapier3dWorldComponent>,\n )\n
"},{"location":"modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/#addwheel-method","title":"addWheel (method)","text":"Signature
addWheel(options: WheelOptions, suspensionOptions: SuspensionOptions): void\n
"},{"location":"modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/#setsteering-method","title":"setSteering (method)","text":"Signature
setSteering(wheelIndex: number, steering: number): void\n
"},{"location":"modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/#applyengineforce-method","title":"applyEngineForce (method)","text":"Signature
applyEngineForce(wheelIndex: number, force: number): void\n
"},{"location":"modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/#applybrake-method","title":"applyBrake (method)","text":"Signature
applyBrake(wheelIndex: number, force: number): void\n
"},{"location":"modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/#iswheeltouchesground-method","title":"isWheelTouchesGround (method)","text":"Signature
isWheelTouchesGround(wheelIndex: number): boolean\n
"},{"location":"modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/#getwheeltransform-method","title":"getWheelTransform (method)","text":"Signature
getWheelTransform(wheelIndex: number): { position: Point3; rotation: Point4 }\n
"},{"location":"modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/#resetsuspension-method","title":"resetSuspension (method)","text":"Signature
resetSuspension(): void\n
"},{"location":"modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/#clone-method","title":"clone (method)","text":"Signature
clone(): Rapier3dRaycastVehicleComponent\n
"},{"location":"modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose()\n
"},{"location":"modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/#_nativevehicle-property","title":"_nativeVehicle (property)","text":"Signature
_nativeVehicle: any\n
"},{"location":"modules/rapier3d/components/rapier-3d-rigid-body.component.ts/","title":"rapier3d/components/rapier-3d-rigid-body.component.ts","text":""},{"location":"modules/rapier3d/components/rapier-3d-rigid-body.component.ts/#rapier-3d-rigid-bodycomponent-overview","title":"rapier-3d-rigid-body.component overviewTable of contents","text":" utils Rapier3dRigidBodyComponent (class) clone (method) addToWorld (method) removeFromWorld (method) resetMotion (method) dispose (method) entity (property) _nativeBody (property) _nativeBodyColliders (property) name (property) collisionGroups (property) "},{"location":"modules/rapier3d/components/rapier-3d-rigid-body.component.ts/#utils","title":"utils","text":""},{"location":"modules/rapier3d/components/rapier-3d-rigid-body.component.ts/#rapier3drigidbodycomponent-class","title":"Rapier3dRigidBodyComponent (class)","text":"Signature
export declare class Rapier3dRigidBodyComponent {\n constructor(\n protected readonly world: Rapier3dWorldComponent,\n protected _colliderDescr: ColliderDesc[],\n protected _bodyDescr: RigidBodyDesc,\n protected _colliderOptions: Omit<Omit<Body3DOptions, 'dynamic'>, 'mass'>\n )\n}\n
"},{"location":"modules/rapier3d/components/rapier-3d-rigid-body.component.ts/#clone-method","title":"clone (method)","text":"Signature
clone(): Rapier3dRigidBodyComponent\n
"},{"location":"modules/rapier3d/components/rapier-3d-rigid-body.component.ts/#addtoworld-method","title":"addToWorld (method)","text":"Signature
addToWorld(world: Gg3dWorld<VisualTypeDocRepo3D, Rapier3dPhysicsTypeDocRepo>): void\n
"},{"location":"modules/rapier3d/components/rapier-3d-rigid-body.component.ts/#removefromworld-method","title":"removeFromWorld (method)","text":"Signature
removeFromWorld(world: Gg3dWorld<VisualTypeDocRepo3D, Rapier3dPhysicsTypeDocRepo>): void\n
"},{"location":"modules/rapier3d/components/rapier-3d-rigid-body.component.ts/#resetmotion-method","title":"resetMotion (method)","text":"Signature
resetMotion(): void\n
"},{"location":"modules/rapier3d/components/rapier-3d-rigid-body.component.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose(): void\n
"},{"location":"modules/rapier3d/components/rapier-3d-rigid-body.component.ts/#entity-property","title":"entity (property)","text":"Signature
entity: any\n
"},{"location":"modules/rapier3d/components/rapier-3d-rigid-body.component.ts/#_nativebody-property","title":"_nativeBody (property)","text":"Signature
_nativeBody: any\n
"},{"location":"modules/rapier3d/components/rapier-3d-rigid-body.component.ts/#_nativebodycolliders-property","title":"_nativeBodyColliders (property)","text":"Signature
_nativeBodyColliders: any[] | null\n
"},{"location":"modules/rapier3d/components/rapier-3d-rigid-body.component.ts/#name-property","title":"name (property)","text":"Signature
name: string\n
"},{"location":"modules/rapier3d/components/rapier-3d-rigid-body.component.ts/#collisiongroups-property","title":"collisionGroups (property)","text":"Signature
collisionGroups: any\n
"},{"location":"modules/rapier3d/components/rapier-3d-trigger.component.ts/","title":"rapier3d/components/rapier-3d-trigger.component.ts","text":""},{"location":"modules/rapier3d/components/rapier-3d-trigger.component.ts/#rapier-3d-triggercomponent-overview","title":"rapier-3d-trigger.component overviewTable of contents","text":" utils Rapier3dTriggerComponent (class) addToWorld (method) checkOverlaps (method) clone (method) onEnter$ (property) onLeft$ (property) "},{"location":"modules/rapier3d/components/rapier-3d-trigger.component.ts/#utils","title":"utils","text":""},{"location":"modules/rapier3d/components/rapier-3d-trigger.component.ts/#rapier3dtriggercomponent-class","title":"Rapier3dTriggerComponent (class)","text":"Signature
export declare class Rapier3dTriggerComponent {\n constructor(\n protected readonly world: Rapier3dWorldComponent,\n protected _colliderDescr: ColliderDesc[],\n protected _bodyDescr: RigidBodyDesc\n )\n}\n
"},{"location":"modules/rapier3d/components/rapier-3d-trigger.component.ts/#addtoworld-method","title":"addToWorld (method)","text":"Signature
addToWorld(world: Gg3dWorld<VisualTypeDocRepo3D, Rapier3dPhysicsTypeDocRepo>): void\n
"},{"location":"modules/rapier3d/components/rapier-3d-trigger.component.ts/#checkoverlaps-method","title":"checkOverlaps (method)","text":"Signature
checkOverlaps(): void\n
"},{"location":"modules/rapier3d/components/rapier-3d-trigger.component.ts/#clone-method","title":"clone (method)","text":"Signature
clone(): Rapier3dTriggerComponent\n
"},{"location":"modules/rapier3d/components/rapier-3d-trigger.component.ts/#onenter-property","title":"onEnter$ (property)","text":"Signature
readonly onEnter$: any\n
"},{"location":"modules/rapier3d/components/rapier-3d-trigger.component.ts/#onleft-property","title":"onLeft$ (property)","text":"Signature
readonly onLeft$: any\n
"},{"location":"modules/rapier3d/components/rapier-3d-world.component.ts/","title":"rapier3d/components/rapier-3d-world.component.ts","text":""},{"location":"modules/rapier3d/components/rapier-3d-world.component.ts/#rapier-3d-worldcomponent-overview","title":"rapier-3d-world.component overviewTable of contents","text":" utils Rapier3dWorldComponent (class) init (method) simulate (method) registerCollisionGroup (method) deregisterCollisionGroup (method) startDebugger (method) stopDebugger (method) dispose (method) _nativeWorld (property) handleIdEntityMap (property) lockedCollisionGroups (property) "},{"location":"modules/rapier3d/components/rapier-3d-world.component.ts/#utils","title":"utils","text":""},{"location":"modules/rapier3d/components/rapier-3d-world.component.ts/#rapier3dworldcomponent-class","title":"Rapier3dWorldComponent (class)","text":"Signature
export declare class Rapier3dWorldComponent\n
"},{"location":"modules/rapier3d/components/rapier-3d-world.component.ts/#init-method","title":"init (method)","text":"Signature
async init(): Promise<void>\n
"},{"location":"modules/rapier3d/components/rapier-3d-world.component.ts/#simulate-method","title":"simulate (method)","text":"Signature
simulate(delta: number): void\n
"},{"location":"modules/rapier3d/components/rapier-3d-world.component.ts/#registercollisiongroup-method","title":"registerCollisionGroup (method)","text":"Signature
registerCollisionGroup(): CollisionGroup\n
"},{"location":"modules/rapier3d/components/rapier-3d-world.component.ts/#deregistercollisiongroup-method","title":"deregisterCollisionGroup (method)","text":"Signature
deregisterCollisionGroup(group: CollisionGroup): void\n
"},{"location":"modules/rapier3d/components/rapier-3d-world.component.ts/#startdebugger-method","title":"startDebugger (method)","text":"Signature
startDebugger(world: Gg3dWorld, drawer: IDebugPhysicsDrawer<Point3, Point4>): void\n
"},{"location":"modules/rapier3d/components/rapier-3d-world.component.ts/#stopdebugger-method","title":"stopDebugger (method)","text":"Signature
stopDebugger(): void\n
"},{"location":"modules/rapier3d/components/rapier-3d-world.component.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose(): void\n
"},{"location":"modules/rapier3d/components/rapier-3d-world.component.ts/#_nativeworld-property","title":"_nativeWorld (property)","text":"Signature
_nativeWorld: any\n
"},{"location":"modules/rapier3d/components/rapier-3d-world.component.ts/#handleidentitymap-property","title":"handleIdEntityMap (property)","text":"Signature
readonly handleIdEntityMap: any\n
"},{"location":"modules/rapier3d/components/rapier-3d-world.component.ts/#lockedcollisiongroups-property","title":"lockedCollisionGroups (property)","text":"Signature
lockedCollisionGroups: number[]\n
"},{"location":"modules/three/","title":"Modules","text":"Directory table of contents three/components three/three-factory.ts three/three-loader.ts three/three-physics-drawer.ts three/types.ts "},{"location":"modules/three/three-factory.ts/","title":"three/three-factory.ts","text":""},{"location":"modules/three/three-factory.ts/#three-factory-overview","title":"three-factory overviewTable of contents","text":" utils ThreeDisplayObject3dOpts (type alias) ThreeFactory (class) createMaterial (method) transformPrimitiveZUp (method) createPrimitive (method) createPerspectiveCamera (method) "},{"location":"modules/three/three-factory.ts/#utils","title":"utils","text":""},{"location":"modules/three/three-factory.ts/#threedisplayobject3dopts-type-alias","title":"ThreeDisplayObject3dOpts (type alias)","text":"Signature
export type ThreeDisplayObject3dOpts = DisplayObject3dOpts<Texture>\n
"},{"location":"modules/three/three-factory.ts/#threefactory-class","title":"ThreeFactory (class)","text":"Signature
export declare class ThreeFactory\n
"},{"location":"modules/three/three-factory.ts/#creatematerial-method","title":"createMaterial (method)","text":"Signature
createMaterial(descr: ThreeDisplayObject3dOpts): Material\n
"},{"location":"modules/three/three-factory.ts/#transformprimitivezup-method","title":"transformPrimitiveZUp (method)","text":"Signature
private transformPrimitiveZUp(object: Object3D): Group\n
"},{"location":"modules/three/three-factory.ts/#createprimitive-method","title":"createPrimitive (method)","text":"Signature
createPrimitive(descriptor: Shape3DDescriptor, material: ThreeDisplayObject3dOpts = {}): ThreeDisplayObjectComponent\n
"},{"location":"modules/three/three-factory.ts/#createperspectivecamera-method","title":"createPerspectiveCamera (method)","text":"Signature
createPerspectiveCamera(\n settings: {\n fov?: number;\n aspectRatio?: number;\n frustrum?: { near: number; far: number };\n } = {},\n ): ThreeCameraComponent\n
"},{"location":"modules/three/three-loader.ts/","title":"three/three-loader.ts","text":""},{"location":"modules/three/three-loader.ts/#three-loader-overview","title":"three-loader overviewTable of contents","text":" utils ThreeLoader (class) registerGltfLoaderAddon (method) loadFromGgGlb (method) "},{"location":"modules/three/three-loader.ts/#utils","title":"utils","text":""},{"location":"modules/three/three-loader.ts/#threeloader-class","title":"ThreeLoader (class)","text":"Signature
export declare class ThreeLoader\n
"},{"location":"modules/three/three-loader.ts/#registergltfloaderaddon-method","title":"registerGltfLoaderAddon (method)","text":"Signature
public registerGltfLoaderAddon(gltf: any): void\n
"},{"location":"modules/three/three-loader.ts/#loadfromggglb-method","title":"loadFromGgGlb (method)","text":"Signature
public async loadFromGgGlb(glbFile: ArrayBuffer, meta: GgMeta): Promise<ThreeDisplayObjectComponent | null>\n
"},{"location":"modules/three/three-physics-drawer.ts/","title":"three/three-physics-drawer.ts","text":""},{"location":"modules/three/three-physics-drawer.ts/#three-physics-drawer-overview","title":"three-physics-drawer overviewTable of contents","text":" utils ThreePhysicsDrawer (class) drawContactPoint (method) drawLine (method) update (method) setXYZ (method) entity (property) debugBufferSize (property) debugVertices (property) debugColors (property) "},{"location":"modules/three/three-physics-drawer.ts/#utils","title":"utils","text":""},{"location":"modules/three/three-physics-drawer.ts/#threephysicsdrawer-class","title":"ThreePhysicsDrawer (class)","text":"Signature
export declare class ThreePhysicsDrawer {\n constructor()\n}\n
"},{"location":"modules/three/three-physics-drawer.ts/#drawcontactpoint-method","title":"drawContactPoint (method)","text":"Signature
drawContactPoint(point: Point3, normal: Point3, color?: Point3): void\n
"},{"location":"modules/three/three-physics-drawer.ts/#drawline-method","title":"drawLine (method)","text":"Signature
drawLine(from: Point3, to: Point3, color?: Point3): void\n
"},{"location":"modules/three/three-physics-drawer.ts/#update-method","title":"update (method)","text":"Signature
update()\n
"},{"location":"modules/three/three-physics-drawer.ts/#setxyz-method","title":"setXYZ (method)","text":"Signature
private setXYZ(array: Float32Array, index: number, x: number, y: number, z: number)\n
"},{"location":"modules/three/three-physics-drawer.ts/#entity-property","title":"entity (property)","text":"Signature
entity: any\n
"},{"location":"modules/three/three-physics-drawer.ts/#debugbuffersize-property","title":"debugBufferSize (property)","text":"Signature
readonly debugBufferSize: number\n
"},{"location":"modules/three/three-physics-drawer.ts/#debugvertices-property","title":"debugVertices (property)","text":"Signature
readonly debugVertices: Float32Array\n
"},{"location":"modules/three/three-physics-drawer.ts/#debugcolors-property","title":"debugColors (property)","text":"Signature
readonly debugColors: Float32Array\n
"},{"location":"modules/three/types.ts/","title":"three/types.ts","text":""},{"location":"modules/three/types.ts/#types-overview","title":"types overviewTable of contents","text":" utils ThreeVisualTypeDocRepo (type alias) "},{"location":"modules/three/types.ts/#utils","title":"utils","text":""},{"location":"modules/three/types.ts/#threevisualtypedocrepo-type-alias","title":"ThreeVisualTypeDocRepo (type alias)","text":"Signature
export type ThreeVisualTypeDocRepo = {\n factory: ThreeFactory\n loader: ThreeLoader\n displayObject: ThreeDisplayObjectComponent\n renderer: ThreeRendererComponent\n camera: ThreeCameraComponent\n texture: Texture\n}\n
"},{"location":"modules/three/components/","title":"Modules","text":"Directory table of contents three/components/three-camera.component.ts three/components/three-display-object.component.ts three/components/three-renderer-component.ts three/components/three-scene.component.ts "},{"location":"modules/three/components/three-camera.component.ts/","title":"three/components/three-camera.component.ts","text":""},{"location":"modules/three/components/three-camera.component.ts/#three-cameracomponent-overview","title":"three-camera.component overviewTable of contents","text":" utils ThreeCameraComponent (class) "},{"location":"modules/three/components/three-camera.component.ts/#utils","title":"utils","text":""},{"location":"modules/three/components/three-camera.component.ts/#threecameracomponent-class","title":"ThreeCameraComponent (class)","text":"Signature
export declare class ThreeCameraComponent {\n constructor(public readonly nativeCamera: Camera)\n}\n
"},{"location":"modules/three/components/three-display-object.component.ts/","title":"three/components/three-display-object.component.ts","text":""},{"location":"modules/three/components/three-display-object.component.ts/#three-display-objectcomponent-overview","title":"three-display-object.component overviewTable of contents","text":" utils ThreeDisplayObjectComponent (class) isEmpty (method) popChild (method) getBoundings (method) clone (method) addToWorld (method) removeFromWorld (method) dispose (method) disposeMesh (method) entity (property) "},{"location":"modules/three/components/three-display-object.component.ts/#utils","title":"utils","text":""},{"location":"modules/three/components/three-display-object.component.ts/#threedisplayobjectcomponent-class","title":"ThreeDisplayObjectComponent (class)","text":"Signature
export declare class ThreeDisplayObjectComponent {\n constructor(public nativeMesh: Object3D)\n}\n
"},{"location":"modules/three/components/three-display-object.component.ts/#isempty-method","title":"isEmpty (method)","text":"Signature
public isEmpty(): boolean\n
"},{"location":"modules/three/components/three-display-object.component.ts/#popchild-method","title":"popChild (method)","text":"Signature
popChild(name: string): ThreeDisplayObjectComponent | null\n
"},{"location":"modules/three/components/three-display-object.component.ts/#getboundings-method","title":"getBoundings (method)","text":"Signature
getBoundings(): GgBox3d\n
"},{"location":"modules/three/components/three-display-object.component.ts/#clone-method","title":"clone (method)","text":"Signature
clone(): ThreeDisplayObjectComponent\n
"},{"location":"modules/three/components/three-display-object.component.ts/#addtoworld-method","title":"addToWorld (method)","text":"Signature
addToWorld(world: Gg3dWorld<ThreeVisualTypeDocRepo, PhysicsTypeDocRepo3D, ThreeSceneComponent>): void\n
"},{"location":"modules/three/components/three-display-object.component.ts/#removefromworld-method","title":"removeFromWorld (method)","text":"Signature
removeFromWorld(world: Gg3dWorld<ThreeVisualTypeDocRepo, PhysicsTypeDocRepo3D, ThreeSceneComponent>): void\n
"},{"location":"modules/three/components/three-display-object.component.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose(): void\n
"},{"location":"modules/three/components/three-display-object.component.ts/#disposemesh-method","title":"disposeMesh (method)","text":"Signature
private disposeMesh(mesh: Mesh)\n
"},{"location":"modules/three/components/three-display-object.component.ts/#entity-property","title":"entity (property)","text":"Signature
entity: any\n
"},{"location":"modules/three/components/three-renderer-component.ts/","title":"three/components/three-renderer-component.ts","text":""},{"location":"modules/three/components/three-renderer-component.ts/#three-renderer-component-overview","title":"three-renderer-component overviewTable of contents","text":" utils ThreeRendererComponent (class) addToWorld (method) removeFromWorld (method) resizeRenderer (method) render (method) dispose (method) nativeRenderer (property) "},{"location":"modules/three/components/three-renderer-component.ts/#utils","title":"utils","text":""},{"location":"modules/three/components/three-renderer-component.ts/#threerenderercomponent-class","title":"ThreeRendererComponent (class)","text":"Signature
export declare class ThreeRendererComponent {\n constructor(\n public readonly scene: ThreeSceneComponent,\n public camera: ThreeCameraComponent,\n public readonly canvas?: HTMLCanvasElement,\n rendererOptions: Partial<RendererOptions> = {}\n )\n}\n
"},{"location":"modules/three/components/three-renderer-component.ts/#addtoworld-method","title":"addToWorld (method)","text":"Signature
addToWorld(world: Gg3dWorld<ThreeVisualTypeDocRepo>)\n
"},{"location":"modules/three/components/three-renderer-component.ts/#removefromworld-method","title":"removeFromWorld (method)","text":"Signature
removeFromWorld(world: Gg3dWorld<ThreeVisualTypeDocRepo>)\n
"},{"location":"modules/three/components/three-renderer-component.ts/#resizerenderer-method","title":"resizeRenderer (method)","text":"Signature
resizeRenderer(newSize: Point2): void\n
"},{"location":"modules/three/components/three-renderer-component.ts/#render-method","title":"render (method)","text":"Signature
render(): void\n
"},{"location":"modules/three/components/three-renderer-component.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose(): void\n
"},{"location":"modules/three/components/three-renderer-component.ts/#nativerenderer-property","title":"nativeRenderer (property)","text":"Signature
readonly nativeRenderer: any\n
"},{"location":"modules/three/components/three-scene.component.ts/","title":"three/components/three-scene.component.ts","text":""},{"location":"modules/three/components/three-scene.component.ts/#three-scenecomponent-overview","title":"three-scene.component overviewTable of contents","text":" utils ThreeSceneComponent (class) init (method) createRenderer (method) dispose (method) factory (property) loader (property) debugPhysicsDrawerClass (property) "},{"location":"modules/three/components/three-scene.component.ts/#utils","title":"utils","text":""},{"location":"modules/three/components/three-scene.component.ts/#threescenecomponent-class","title":"ThreeSceneComponent (class)","text":"Signature
export declare class ThreeSceneComponent\n
"},{"location":"modules/three/components/three-scene.component.ts/#init-method","title":"init (method)","text":"Signature
async init(): Promise<void>\n
"},{"location":"modules/three/components/three-scene.component.ts/#createrenderer-method","title":"createRenderer (method)","text":"Signature
createRenderer(\n camera: ThreeCameraComponent,\n canvas?: HTMLCanvasElement,\n rendererOptions?: Partial<RendererOptions>,\n ): ThreeRendererComponent\n
"},{"location":"modules/three/components/three-scene.component.ts/#dispose-method","title":"dispose (method)","text":"Signature
dispose(): void\n
"},{"location":"modules/three/components/three-scene.component.ts/#factory-property","title":"factory (property)","text":"Signature
readonly factory: ThreeFactory\n
"},{"location":"modules/three/components/three-scene.component.ts/#loader-property","title":"loader (property)","text":"Signature
readonly loader: ThreeLoader\n
"},{"location":"modules/three/components/three-scene.component.ts/#debugphysicsdrawerclass-property","title":"debugPhysicsDrawerClass (property)","text":"Signature
readonly debugPhysicsDrawerClass: typeof ThreePhysicsDrawer\n
"}]}
\ No newline at end of file
diff --git a/sitemap.xml b/sitemap.xml
index 4627443e..ce1fa7f4 100755
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -2,852 +2,887 @@
https://AndyGura.github.io/gg-web-engine/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/ammo/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/ammo/ammo-debugger.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/ammo/ammo-factory.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/ammo/ammo-loader.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/ammo/ammo-utils.ts/
- 2023-12-11
+ 2023-12-18
+ daily
+
+
+ https://AndyGura.github.io/gg-web-engine/modules/ammo/types.ts/
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/ammo/components/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/ammo/components/ammo-body.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/ammo/components/ammo-raycast-vehicle.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/ammo/components/ammo-rigid-body.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/ammo/components/ammo-trigger.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/ammo/components/ammo-world.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/2d/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/2d/factories.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/2d/gg-2d-world.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/2d/index.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/2d/components/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/2d/components/physics/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/2d/components/physics/i-physics-world-2d.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/2d/components/physics/i-rigid-body-2d.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/2d/components/physics/i-trigger-2d.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/2d/components/rendering/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/2d/components/rendering/i-display-object-2d.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/2d/components/rendering/i-renderer-2d.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/2d/components/rendering/i-visual-scene-2d.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/2d/entities/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/2d/entities/entity-2d.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/2d/entities/i-renderable-2d.entity.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/2d/entities/renderer-2d.entity.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/2d/entities/trigger-2d.entity.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/2d/entities/controllers/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/2d/entities/controllers/entity-2d-positioning.animator.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/2d/interfaces/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/2d/interfaces/i-positionable-2d.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/2d/models/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/2d/models/body-options.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/2d/models/shapes.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/factories.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/gg-3d-world.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/index.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/loader.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/loaders.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/components/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/components/physics/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/components/physics/i-physics-world-3d.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/components/physics/i-raycast-vehicle.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/components/physics/i-rigid-body-3d.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/components/physics/i-trigger-3d.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/components/rendering/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/components/rendering/i-camera.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/components/rendering/i-display-object-3d.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/components/rendering/i-renderer-3d.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/components/rendering/i-visual-scene-3d.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/entities/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/entities/entity-3d.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/entities/i-renderable-3d.entity.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/entities/map-graph-3d.entity.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/entities/raycast-vehicle-3d.entity.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/entities/renderer-3d.entity.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/entities/trigger-3d.entity.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/entities/controllers/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/entities/controllers/animators/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/entities/controllers/animators/camera-3d.animator.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/entities/controllers/animators/entity-3d-positioning.animator.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/entities/controllers/input/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/entities/controllers/input/car-keyboard-handling.controller.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/entities/controllers/input/free-camera.controller.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/entities/controllers/input/gg-car-keyboard-handling.controller.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/entities/controllers/input/orbit-camera.controller.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/entities/gg-car/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/entities/gg-car/gg-car.entity.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/interfaces/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/interfaces/i-positionable-3d.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/models/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/models/body-options.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/models/gg-meta.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/3d/models/shapes.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/gg-world.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/index.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/clock/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/clock/global-clock.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/clock/i-clock.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/clock/pausable-clock.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/components/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/components/i-component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/components/i-world-component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/components/physics/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/components/physics/i-body.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/components/physics/i-physics-world.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/components/physics/i-rigid-body.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/components/physics/i-trigger.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/components/rendering/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/components/rendering/i-display-object.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/components/rendering/i-renderer.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/components/rendering/i-visual-scene.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/data-structures/
- 2023-12-11
+ 2023-12-18
+ daily
+
+
+ https://AndyGura.github.io/gg-web-engine/modules/core/base/data-structures/bitmask.ts/
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/data-structures/graph.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/entities/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/entities/i-entity.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/entities/i-renderable.entity.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/entities/i-renderer.entity.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/entities/controllers/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/entities/controllers/animation-mixer.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/entities/controllers/inline-controller.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/inputs/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/inputs/direction.keyboard.input.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/inputs/i-input.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/inputs/keyboard.input.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/inputs/mouse.input.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/interfaces/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/interfaces/i-debug-physics-drawer.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/interfaces/i-positionable.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/math/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/math/box.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/math/matrix4.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/math/numbers.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/math/point2.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/math/point3.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/math/quaternion.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/math/splines.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/models/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/models/axis-directions.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/models/body-options.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/models/geometry-nodes.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/base/models/points.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/dev/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/dev/gg-console.ui.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/dev/gg-debugger.ui.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/dev/gg-static.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/core/dev/index.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/matter/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/matter/matter-factory.ts/
- 2023-12-11
+ 2023-12-18
+ daily
+
+
+ https://AndyGura.github.io/gg-web-engine/modules/matter/types.ts/
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/matter/components/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/matter/components/matter-rigid-body.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/matter/components/matter-world.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/pixi/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/pixi/pixi-factory.ts/
- 2023-12-11
+ 2023-12-18
+ daily
+
+
+ https://AndyGura.github.io/gg-web-engine/modules/pixi/types.ts/
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/pixi/components/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/pixi/components/pixi-display-object.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/pixi/components/pixi-renderer.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/pixi/components/pixi-scene.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/rapier2d/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/rapier2d/index.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/rapier2d/rapier-2d-factory.ts/
- 2023-12-11
+ 2023-12-18
+ daily
+
+
+ https://AndyGura.github.io/gg-web-engine/modules/rapier2d/types.ts/
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/rapier2d/components/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/rapier2d/components/rapier-2d-rigid-body.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/rapier2d/components/rapier-2d-trigger.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/rapier2d/components/rapier-2d-world.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/rapier3d/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/rapier3d/index.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/rapier3d/rapier-3d-factory.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/rapier3d/rapier-3d-loader.ts/
- 2023-12-11
+ 2023-12-18
+ daily
+
+
+ https://AndyGura.github.io/gg-web-engine/modules/rapier3d/types.ts/
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/rapier3d/components/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/rapier3d/components/rapier-3d-raycast-vehicle.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/rapier3d/components/rapier-3d-rigid-body.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/rapier3d/components/rapier-3d-trigger.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/rapier3d/components/rapier-3d-world.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/three/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/three/three-factory.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/three/three-loader.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/three/three-physics-drawer.ts/
- 2023-12-11
+ 2023-12-18
+ daily
+
+
+ https://AndyGura.github.io/gg-web-engine/modules/three/types.ts/
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/three/components/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/three/components/three-camera.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/three/components/three-display-object.component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/three/components/three-renderer-component.ts/
- 2023-12-11
+ 2023-12-18
daily
https://AndyGura.github.io/gg-web-engine/modules/three/components/three-scene.component.ts/
- 2023-12-11
+ 2023-12-18
daily
\ No newline at end of file
diff --git a/sitemap.xml.gz b/sitemap.xml.gz
index d5e2e74b..3c19b660 100755
Binary files a/sitemap.xml.gz and b/sitemap.xml.gz differ