SpriteData
此内容尚不支持你的语言。
Defined in: ecs/component.generated.ts:1502
The fields of the engine’s Sprite component, generated from
the C++ struct so the two shapes cannot drift.
Properties
Section titled “Properties”color:
Color
Defined in: ecs/component.generated.ts:1504
enabled
Section titled “enabled”enabled:
boolean
Defined in: ecs/component.generated.ts:1517
flipX:
boolean
Defined in: ecs/component.generated.ts:1511
flipY:
boolean
Defined in: ecs/component.generated.ts:1512
layer:
number
Defined in: ecs/component.generated.ts:1509
lit:
boolean
Defined in: ecs/component.generated.ts:1510
material
Section titled “material”material:
number
Defined in: ecs/component.generated.ts:1516
parallax
Section titled “parallax”parallax:
Vec2
Defined in: ecs/component.generated.ts:1515
pivot:
Vec2
Defined in: ecs/component.generated.ts:1506
size:
Vec2
Defined in: ecs/component.generated.ts:1505
texture
Section titled “texture”texture:
number
Defined in: ecs/component.generated.ts:1503
tileSize
Section titled “tileSize”tileSize:
Vec2
Defined in: ecs/component.generated.ts:1513
tileSpacing
Section titled “tileSpacing”tileSpacing:
Vec2
Defined in: ecs/component.generated.ts:1514
uvOffset
Section titled “uvOffset”uvOffset:
Vec2
Defined in: ecs/component.generated.ts:1507
uvScale
Section titled “uvScale”uvScale:
Vec2
Defined in: ecs/component.generated.ts:1508