Skip to content

Latest commit

 

History

History
103 lines (93 loc) · 6.91 KB

decentraland-ecs.md

File metadata and controls

103 lines (93 loc) · 6.91 KB

Home > decentraland-ecs

decentraland-ecs package

Classes

Class Description
Angle Defines angle representation
AnimationClip
Arc2 This represents an arc in a 2d space.
Axis Defines the 3 main axes
BasicMaterial
BezierCurve Class used to represent a Bezier curve
BoxShape
Camera
Color3 Class used to hold a RBG color
Color4 Class used to hold a RBGA color
ComponentAdded
ComponentRemoved
ConeShape
Curve3 A Curve3 object is a logical object, so not a mesh, to handle curves in the 3D geometric space. A Curve3 is designed from a series of successive Vector3. https://doc.babylonjs.com/how_to/how_to_use_curve3
CylinderShape
DisposableComponentCreated
DisposableComponentRemoved
DisposableComponentUpdated
Engine
EngineEvent
Entity
Frustum (BETA) Reprasents a camera frustum
GLTFShape
Input
Material
Matrix Class used to store matrix data (4x4)
NFTShape
OBJShape
ObservableComponent
OnBlur
OnChanged
OnClick
OnFocus
OnUUIDEvent
ParentChanged
Path2 Represents a 2D path made up of multiple 2D points
Path3D Represents a 3D path made up of multiple 3D points
Plane Represens a plane by the equation ax + by + cz + d = 0
PlaneShape
Quaternion Class used to store quaternion data https://en.wikipedia.org/wiki/Quaternion http://doc.babylonjs.com/features/position,_rotation,_scaling
Scalar Scalar computation library
Shape
Size Size containing widht and height
SphereShape
TextShape
Transform
UIContainerRectShape
UIContainerStackShape
UIImageShape
UIInputTextShape
UIScreenSpaceShape
UISliderShape
UITextShape
UIWorldSpaceShape
UUIDEvent
UUIDEventSystem
Vector2 Class representing a vector containing 2 coordinates
Vector3 Classed used to store (x,y,z) vector representation A Vector3 is the main object used in 3D geometry It can represent etiher the coordinates of a point the space, either a direction Reminder: Babylon.js uses a left handed forward facing system
Vector4 Vector4 class created for EulerAngle class conversion to Quaternion

Interfaces

Interface Description
ComponentConstructor
ComponentLike
DisposableComponentConstructor
DisposableComponentLike
IInteractionEvent
ISize Interface for the size containing width and height
ISystem

Functions

Function Returns Description
Component `<TFunction extends ComponentConstructor>(target: TFunction) => void TFunction`
DisposableComponent `<TFunction extends DisposableComponentConstructor>(target: TFunction) => void TFunction`
error void Error function. Prints a console error. Only works in debug mode, otherwise it does nothing.
executeTask TaskResult<T> (BETA) Executes an asynchronous task
getComponentClassId `number null`
getComponentId string
getComponentName string
isDisposableComponent boolean
log void Log function. Only works in debug mode, otherwise it does nothing.

Enumerations

Enumeration Description
BillboardMode
Orientation Defines potential orientation for back face culling
Pointer
Space Defines supported spaces