inochi2d v0.8.0 (2023-05-01T11:41:26Z)
Dub
Repo
inDrawTextureAtRect
inochi2d
core
nodes
part
Draws a texture at the transform of the specified part
void
inDrawTextureAtRect
(
Texture
texture
,
rect
area
,
rect
uvs
=
rect
(0, 0, 1, 1)
,
float
opacity
= 1
,
vec3
color
=
vec3
(1, 1, 1)
,
vec3
screenColor
=
vec3
(0, 0, 0)
,
Shader
s
= null
,
Camera
cam
= null
)
Meta
Source
See Implementation
inochi2d
core
nodes
part
modules
apart
classes
Part
enums
TextureUsage
functions
inCreateSimplePart
inDrawTextureAtPart
inDrawTextureAtPosition
inDrawTextureAtRect
inInitPart
manifest constants
NO_TEXTURE
Draws a texture at the transform of the specified part