|
Seamless3d Node Index
CopyPart

interface CopyPart {
SFBool mirrorX FALSE SFBool mirrorY FALSE SFBool mirrorZ FALSE
SFBool add FALSE
SFBool insideOut FALSE
SFBool staticTransform TRUE
SFBool copyTransform FALSE
SFBool resetTransform FALSE
MFNode source []
MFNode dest []
MemberFunction setup NULL
}
The CopyPart
is a Build type node used for copying the triangles contained in Part
nodes. The build node performs its operation during
a build cycle.
The source field specifies the Part/s the triangles are
copied from.
The dest field specifies the Part/s the triangles are
copied to.
If the mirrorX, mirrorY or mirrorZ field is true the copied triangles
are mirrored in the X, Y or Z dimension (the x, y or z components of the verticis
are inverted)
If the add field is true the copied triangles are added to the dest
Part/s existing triangles.
If the add field is false the copied triangles replace the dest Part/s
existing triangles.
If the insideOut field is true the visible and invisible sides are swapped
for the copied triangle faces.
If the staticTransform field is true the copied triangles are statically
transformed by the values specified by the source Part's scale, rotation and translation
fields.
If the copyTransform field is true the source Part/s scale,
rotation and translation fields are copied to the destination Part/s.
If the source field specifies multiple Part nodes that contain shared triangles,
the triangles will not be broken if all of the vertices are contained in the source
Parts.
If any of the Parts specified in the source field contains shared triangles
that are shared with Parts that are not specified in the source field, all shared
triangles will be broken so that they are no longer shared
triangles.
Note: a shared triangle here refers to a triangle that contains vertices owned by more than one Part.
The source field can specify both white Part and blue
Part (ImmediatePart) nodes.
The dest field is limited to referenceing white Parts.
Seamless3d Node Index
|