Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
SpriteJS Struct Reference

Public Attributes

u32 texture
glm::vec4 color
glm::vec2 size
glm::vec2 pivot
glm::vec2 uvOffset
glm::vec2 uvScale
i32 layer
i32 order
i32 maskInteraction
bool lit
bool flipX
bool flipY
i32 drawMode
glm::vec2 tileSize
glm::vec2 tileSpacing
glm::vec2 parallax
u32 material
bool enabled

Detailed Description

Definition at line 1512 of file WebBindings.generated.cpp.

Member Data Documentation

◆ color

glm::vec4 SpriteJS::color

Definition at line 1514 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), spriteApplyJS(), and spriteToJS().

◆ drawMode

i32 SpriteJS::drawMode

Definition at line 1525 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), spriteApplyJS(), and spriteToJS().

◆ enabled

bool SpriteJS::enabled

Definition at line 1530 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), spriteApplyJS(), and spriteToJS().

◆ flipX

bool SpriteJS::flipX

Definition at line 1523 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), spriteApplyJS(), and spriteToJS().

◆ flipY

bool SpriteJS::flipY

Definition at line 1524 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), spriteApplyJS(), and spriteToJS().

◆ layer

i32 SpriteJS::layer

Definition at line 1519 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), spriteApplyJS(), and spriteToJS().

◆ lit

bool SpriteJS::lit

Definition at line 1522 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), spriteApplyJS(), and spriteToJS().

◆ maskInteraction

i32 SpriteJS::maskInteraction

Definition at line 1521 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), spriteApplyJS(), and spriteToJS().

◆ material

u32 SpriteJS::material

Definition at line 1529 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), spriteApplyJS(), and spriteToJS().

◆ order

i32 SpriteJS::order

Definition at line 1520 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), spriteApplyJS(), and spriteToJS().

◆ parallax

glm::vec2 SpriteJS::parallax

Definition at line 1528 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), spriteApplyJS(), and spriteToJS().

◆ pivot

glm::vec2 SpriteJS::pivot

Definition at line 1516 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), spriteApplyJS(), and spriteToJS().

◆ size

glm::vec2 SpriteJS::size

Definition at line 1515 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), spriteApplyJS(), and spriteToJS().

◆ texture

u32 SpriteJS::texture

Definition at line 1513 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), spriteApplyJS(), and spriteToJS().

◆ tileSize

glm::vec2 SpriteJS::tileSize

Definition at line 1526 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), spriteApplyJS(), and spriteToJS().

◆ tileSpacing

glm::vec2 SpriteJS::tileSpacing

Definition at line 1527 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), spriteApplyJS(), and spriteToJS().

◆ uvOffset

glm::vec2 SpriteJS::uvOffset

Definition at line 1517 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), spriteApplyJS(), and spriteToJS().

◆ uvScale

glm::vec2 SpriteJS::uvScale

Definition at line 1518 of file WebBindings.generated.cpp.

Referenced by EMSCRIPTEN_BINDINGS(), spriteApplyJS(), and spriteToJS().


The documentation for this struct was generated from the following file: