Skip to main content

@tedengine/ted

Index

Classes

Enumerations

Functions

Interfaces

Type Aliases

Variables

Type Aliases

TBrowserFeature

TBrowserFeature: webgl2 | offscreencanvas

TCameraConfig

TColliderConfig

TColor

TColor: [number, number, number, number]

TComponentConstructor

TComponentConstructor<T>: new (...args: any[]) => T

Type for component class constructors


Type parameters

Type declaration

    • new (...args: any[]): T
    • Parameters

      • rest...args: any[]

      Returns T

TEntity

TEntity: number

An entity is a unique identifier for a game object.

TParticleBehaviourConfigVec3

TParticleBehaviourConfigVec3: vec3 | (particle: TParticle) => vec3

TParticleBehaviourConfigVec4

TParticleBehaviourConfigVec4: vec4 | (particle: TParticle) => vec4

TParticleConfigNumber

TParticleConfigNumber: number | () => number

TParticleConfigQuat

TParticleConfigQuat: quat | () => quat

TParticleConfigVec3

TParticleConfigVec3: vec3 | () => vec3

TParticleConfigVec4

TParticleConfigVec4: vec4 | () => vec4

TPhysicsMode

TPhysicsMode: 2d | 3d

TPhysicsStateChange

TPostMessageFunc

TPostMessageFunc: (message: unknown, transfer?: Transferable[]) => void | (message: unknown) => void

TResource

TResource: string | TResourceWithConfig

TSerializedMaterial

TSerializedRenderTask

TUniformLocationCache

TUniformLocationCache: {}

Type declaration

  • [key string]: WebGLUniformLocation | null

Variables

constTEngineContext

TEngineContext: Context<TEngineContextData> = ...

constTEventQueueContext

TEventQueueContext: Context<TEventQueueContextData> = ...

constTFredContext

TFredContext: Context<TFredContextData> = ...

constTGameContext

TGameContext: Context<TGameContextData> = ...

constTUIContext

TUIContext: Context<TUIContextData> = ...