MeshGroup

Contains various deformation shapes that can be applied to children of this node

Constructors

this
this(Node parent)

Constructs a new MeshGroup node

Members

Functions

applyDeformToChildren
void applyDeformToChildren(Parameter[] params)
Undocumented in source. Be warned that the author may not have intended to support it.
clearCache
void clearCache()
Undocumented in source. Be warned that the author may not have intended to support it.
deserializeFromFghj
SerdeException deserializeFromFghj(Fghj data)
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw()
Undocumented in source. Be warned that the author may not have intended to support it.
filterChildren
Tuple!(vec2[], mat4*) filterChildren(vec2[] origVertices, vec2[] origDeformation, mat4* origTransform)
Undocumented in source. Be warned that the author may not have intended to support it.
getTranslateChildren
bool getTranslateChildren()
Undocumented in source. Be warned that the author may not have intended to support it.
postProcess
void postProcess()
Undocumented in source. Be warned that the author may not have intended to support it.
preProcess
void preProcess()
Undocumented in source. Be warned that the author may not have intended to support it.
precalculate
void precalculate()
Undocumented in source. Be warned that the author may not have intended to support it.
rebuffer
void rebuffer(MeshData data)
Undocumented in source. Be warned that the author may not have intended to support it.
renderMask
void renderMask(bool dodge)
Undocumented in source. Be warned that the author may not have intended to support it.
serializeSelfImpl
void serializeSelfImpl(InochiSerializer serializer, bool recursive)
Undocumented in source. Be warned that the author may not have intended to support it.
setTranslateChildren
void setTranslateChildren(bool value)
Undocumented in source. Be warned that the author may not have intended to support it.
setupChild
void setupChild(Node child)
Undocumented in source. Be warned that the author may not have intended to support it.
switchMode
void switchMode(bool dynamic)
Undocumented in source. Be warned that the author may not have intended to support it.
typeId
string typeId()
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update()

A list of the shape offsets to apply per part

Variables

bitMask
ushort[] bitMask;
Undocumented in source.
bounds
vec4 bounds;
Undocumented in source.
dynamic
bool dynamic;
Undocumented in source.
forwardMatrix
mat4 forwardMatrix;
Undocumented in source.
inverseMatrix
mat4 inverseMatrix;
Undocumented in source.
precalculated
bool precalculated;
Undocumented in source.
transformedVertices
vec2[] transformedVertices;
Undocumented in source.
translateChildren
bool translateChildren;
Undocumented in source.
triangles
Triangle[] triangles;
Undocumented in source.

Inherited Members

From Drawable

updateDeform
void updateDeform()
Undocumented in source. Be warned that the author may not have intended to support it.
ibo
GLuint ibo;

OpenGL Index Buffer Object

vbo
GLuint vbo;

OpenGL Vertex Buffer Object

dbo
GLuint dbo;

OpenGL Vertex Buffer Object for deformation

data
MeshData data;

The mesh data of this part

bindIndex
void bindIndex()

Binds Index Buffer for rendering

serializeSelfImpl
void serializeSelfImpl(InochiSerializer serializer, bool recursive)

Allows serializing self data (with pretty serializer)

deserializeFromFghj
SerdeException deserializeFromFghj(Fghj data)
Undocumented in source. Be warned that the author may not have intended to support it.
onDeformPushed
void onDeformPushed(Deformation deform)
Undocumented in source. Be warned that the author may not have intended to support it.
preProcess
void preProcess()
Undocumented in source. Be warned that the author may not have intended to support it.
postProcess
void postProcess()
Undocumented in source. Be warned that the author may not have intended to support it.
notifyDeformPushed
void notifyDeformPushed(Deformation deform)
Undocumented in source. Be warned that the author may not have intended to support it.
renderMask
void renderMask(bool dodge)
Undocumented in source.
vertices
vec2[] vertices()
Undocumented in source. Be warned that the author may not have intended to support it.
deformation
vec2[] deformation;

Deformation offset to apply

bounds
vec4 bounds;

The bounds of this drawable

deformStack
DeformationStack deformStack;

Deformation stack

refresh
void refresh()

Refreshes the drawable, updating its vertices

refreshDeform
void refreshDeform()

Refreshes the drawable, updating its deformation deltas

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

Updates the drawable

drawOne
void drawOne()

Draws the drawable

drawOneDirect
void drawOneDirect(bool forMasking)

Draws the drawable without any processing

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

Updates the drawable's bounds

drawBounds
void drawBounds()

Draws bounds

drawMeshLines
void drawMeshLines()

Draws line of mesh

drawMeshPoints
void drawMeshPoints()

Draws the points of the mesh

getMesh
MeshData getMesh()

Returns the mesh data for this Part.

rebuffer
void rebuffer(MeshData data)

Changes this mesh's data

reset
void reset()

Resets the vertices of this drawable

Meta