Render
The render2d block of project.aego, owned by the Rendering 2D module. Older names of the block: render.
On this page
Default block
render2d {
pixelsPerUnit=64
}
Fields
| Name | Type | Default | Description |
|---|---|---|---|
| pixelsPerUnit | int32 | 64 | Texture pixels per world unit; a texture dropped into the scene gets size = pixels / this value. Zero uses 64. ≥ 0 |
Related guides
- Art Studio: drawing, frames and source files Create a drawing, edit layers and frames, then distinguish saving its source from publishing game assets.
- Cameras Camera2D renders an orthographic view from the node's 2D transform.
- Materials and shaders A material is a shared asset.