Composite

Composite Node

Constructors

this
this(Node parent)

Constructs a new mask

this
this(uint uuid, Node parent)

Constructs a new composite

Members

Functions

beginUpdate
void beginUpdate()
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.
drawOne
void drawOne()
Undocumented in source. Be warned that the author may not have intended to support it.
getDefaultValue
float getDefaultValue(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
hasParam
bool hasParam(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
renderMask
void renderMask()
Undocumented in source. Be warned that the author may not have intended to support it.
scanParts
void scanParts()

Scans for parts to render

serializeSelf
void serializeSelf(InochiSerializer serializer)
Undocumented in source. Be warned that the author may not have intended to support it.
serializeSelf
void serializeSelf(InochiSerializerCompact serializer)
Undocumented in source. Be warned that the author may not have intended to support it.
setValue
bool setValue(string key, float value)
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.

Variables

blendingMode
BlendMode blendingMode;

The blending mode

offsetOpacity
float offsetOpacity;
Undocumented in source.
offsetTint
vec3 offsetTint;
Undocumented in source.
opacity
float opacity;

The opacity of the composite

subParts
Part[] subParts;
Undocumented in source.
threshold
float threshold;

The threshold for rendering masks

tint
vec3 tint;

The tint of the composite

Inherited Members

From Node

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.
serializeSelf
void serializeSelf(InochiSerializer serializer)
Undocumented in source. Be warned that the author may not have intended to support it.
serializeSelf
void serializeSelf(InochiSerializerCompact serializer)
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;

Visual name of the node

uuid
uint uuid()

Returns the unique identifier for this node

typeId
string typeId()

This node's type ID

relZSort
float relZSort()

Gets the relative Z sorting

zSort
float zSort()

Gets the Z sorting

zSort
void zSort(float value)

Sets the (relative) Z sorting

lockToRoot
bool lockToRoot()

Lock translation to root

lockToRoot
void lockToRoot(bool value)

Lock translation to root

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

transformNoLock
Transform transformNoLock()

The transform in world space without locking

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)

Sets offset value

scaleValue
float scaleValue(string key, float value, int axis, float scale)

Scale an offset value, given an axis and a scale

draw
void draw()

Draws this node and it's subnodes

drawOne
void drawOne()

Draws this node.

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()

Updates the node

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.

forceSetUUID
void forceSetUUID(uint uuid)

Force sets the node's ID

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()

Draws bounds

Meta