inochi2d.core.nodes.part

Undocumented in source.

Modules

apart
module inochi2d.core.nodes.part.apart
Undocumented in source.

Public Imports

inochi2d.core.nodes.common
public import inochi2d.core.nodes.common;
Undocumented in source.
inochi2d.core.meshdata
public import inochi2d.core.meshdata;
Undocumented in source.

Members

Classes

Part
class Part

Dynamic Mesh Part

Enums

TextureUsage
enum TextureUsage
Undocumented in source.

Functions

inCreateSimplePart
Part inCreateSimplePart(string file, Node parent)

Creates a simple part that is sized after the texture given part is created based on file path given. Supported file types are: png, tga and jpeg

inCreateSimplePart
Part inCreateSimplePart(ShallowTexture texture, Node parent, string name)

Creates a simple part that is sized after the texture given

inCreateSimplePart
Part inCreateSimplePart(Texture tex, Node parent, string name)

Creates a simple part that is sized after the texture given

inDrawTextureAtPart
void inDrawTextureAtPart(Texture texture, Part part)

Draws a texture at the transform of the specified part

inDrawTextureAtPosition
void inDrawTextureAtPosition(Texture texture, vec2 position, float opacity, vec3 color, vec3 screenColor)

Draws a texture at the transform of the specified part

inDrawTextureAtRect
void inDrawTextureAtRect(Texture texture, rect area, rect uvs, float opacity, vec3 color, vec3 screenColor, Shader s, Camera cam)

Draws a texture at the transform of the specified part

inInitPart
void inInitPart()
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

NO_TEXTURE
enum NO_TEXTURE;
Undocumented in source.

Meta