Function: addScaleComponent()
addScaleComponent(
world,entity,options?):ScaleEcsComponent
Defined in: common/components/scale-component.ts:22
Attaches a ScaleEcsComponent to entity.
Parameters
world
The ECS world entity belongs to.
entity
number
The entity to attach the component to.
options?
Partial<ScaleEcsComponent> = {}
Options for configuring the scale.
Returns
The attached component, for further tuning or runtime changes.