- preProcessed
bool preProcessed;
Undocumented in source.
- postProcessed
bool postProcessed;
Undocumented in source.
- offsetTransform
Transform offsetTransform;
The offset to the transform to apply
- offsetSort
float offsetSort;
The offset to apply to sorting
- resetMask
void resetMask()
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.
- serializeSelf
void serializeSelf(InochiSerializer serializer)
Undocumented in source. Be warned that the author may not have intended to support it.
- oneTimeTransform
mat4* oneTimeTransform;
Undocumented in source.
- MatrixHolder
class MatrixHolder
Undocumented in source.
- overrideTransformMatrix
MatrixHolder overrideTransformMatrix;
Undocumented in source.
- preProcessFilter
Tuple!(vec2[], mat4*) delegate(vec2[], vec2[], mat4*) preProcessFilter;
Undocumented in source.
- postProcessFilter
Tuple!(vec2[], mat4*) delegate(vec2[], vec2[], mat4*) postProcessFilter;
Undocumented in source.
- 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.
- setPuppet
void setPuppet(Puppet puppet)
Needed for deserialization
- enabled
bool enabled;
Whether the node is enabled
- renderEnabled
bool renderEnabled()
Whether the node is enabled for rendering
- name
string name;
- cName
const(char)* cName()
Name of node as a null-terminated C string
- uuid
uint uuid()
Returns the unique identifier for this node
- typeId
string typeId()
- relZSort
float relZSort()
Gets the relative Z sorting
- zSortBase
float zSortBase()
Gets the basis zSort offset.
- zSortNoOffset
float zSortNoOffset()
Gets the Z sorting without parameter offsets
- zSort
float zSort()
- zSort
void zSort(float value)
Sets the (relative) Z sorting
- lockToRoot
bool lockToRoot()
- lockToRoot
void lockToRoot(bool value)
- localTransform
Transform localTransform;
The local transform of the node
- globalTransform
Transform globalTransform;
The cached world space transform of the node
- recalculateTransform
bool recalculateTransform;
Undocumented in source.
- transform
Transform transform()
The transform in world space
- transformLocal
Transform transformLocal()
The transform in world space without locking
- transformNoLock
Transform transformNoLock()
The transform in world space without locking
- setRelativeTo
void setRelativeTo(Node to)
Calculates the relative position between 2 nodes and applies the offset.
You should call this before reparenting nodes.
- setRelativeTo
void setRelativeTo(mat4 to)
Calculates the relative position between this node and a matrix and applies the offset.
This does not handle zSorting. Pass a Node for that.
- getRelativePosition
vec3 getRelativePosition(mat4 m1, mat4 m2)
Gets a relative position for 2 matrices
- getRelativePositionInv
vec3 getRelativePositionInv(mat4 m1, mat4 m2)
Gets a relative position for 2 matrices
- getNodePath
string getNodePath()
Gets the path to the node.
- depth
int depth()
Gets the depth of this node
- children
Node[] children()
Gets a list of this node's children
- parent
Node parent()
Gets the parent of this node
- puppet
Puppet puppet()
The puppet this node is attached to
- clearChildren
void clearChildren()
Removes all children from this node
- addChild
void addChild(Node child)
Adds a node as a child of this node.
- parent
void parent(Node node)
Sets the parent of this node
- getIndexInParent
ptrdiff_t getIndexInParent()
Undocumented in source. Be warned that the author may not have intended to support it.
- getIndexInNode
ptrdiff_t getIndexInNode(Node n)
Undocumented in source. Be warned that the author may not have intended to support it.
- OFFSET_START
enum OFFSET_START;
Undocumented in source.
- OFFSET_END
enum OFFSET_END;
Undocumented in source.
- insertInto
void insertInto(Node node, size_t offset)
Undocumented in source. Be warned that the author may not have intended to support it.
- hasParam
bool hasParam(string key)
Return whether this node supports a parameter
- getDefaultValue
float getDefaultValue(string key)
Gets the default offset value
- setValue
bool setValue(string key, float value)
- scaleValue
float scaleValue(string key, float value, int axis, float scale)
Scale an offset value, given an axis and a scale
- getValue
float getValue(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
- draw
void draw()
Draws this node and it's subnodes
- drawOne
void drawOne()
- reconstruct
void reconstruct()
Undocumented in source. Be warned that the author may not have intended to support it.
- finalize
void finalize()
Finalizes this node and any children
- beginUpdate
void beginUpdate()
Undocumented in source. Be warned that the author may not have intended to support it.
- update
void update()
- transformChanged
void transformChanged()
Marks this node's transform (and its descendents') as dirty
- toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.
- serialize
void serialize(S serializer)
Allows serializing a node (with pretty serializer)
- deserializeFromFghj
SerdeException deserializeFromFghj(Fghj data)
Deserializes node from Fghj formatted JSON data.
- serializePartial
void serializePartial(InochiSerializer serializer, bool recursive)
Undocumented in source. Be warned that the author may not have intended to support it.
- forceSetUUID
void forceSetUUID(uint uuid)
- getCombinedBoundsRect
rect getCombinedBoundsRect()
Undocumented in source. Be warned that the author may not have intended to support it.
- getInitialBoundsSize
vec4 getInitialBoundsSize()
Undocumented in source. Be warned that the author may not have intended to support it.
- getCombinedBounds
vec4 getCombinedBounds()
Gets the combined bounds of the node
- canReparent
bool canReparent(Node to)
Gets whether nodes can be reparented
- drawOrientation
void drawOrientation()
Draws orientation of the node
- drawBounds
void drawBounds()
- setOneTimeTransform
void setOneTimeTransform(mat4* transform)
Undocumented in source. Be warned that the author may not have intended to support it.
- getOneTimeTransform
mat4* getOneTimeTransform()
Undocumented in source. Be warned that the author may not have intended to support it.
- reparent
void reparent(Node parent, ulong pOffset)
- setupChild
void setupChild(Node child)
Undocumented in source. Be warned that the author may not have intended to support it.
- getDynamicMatrix
mat4 getDynamicMatrix()
Undocumented in source. Be warned that the author may not have intended to support it.
A temporary node which will not be saved to file under any circumstances