Modifier and Type | Class and Description |
---|---|
class |
Line
A line is a path defined by a set of points with
getControlPoints() , and connected by Line.getIndices() ,
which means it can also be a set of connected line segments. |
class |
Mesh
A mesh is made of many n-sided polygons.
|
class |
NurbsCurve
NURBS curve is a curve represented by NURBS(Non-uniform rational basis spline),
A NURBS curve is defined by its
NurbsCurve.getOrder() , a set of weighted getControlPoints() and a NurbsCurve.getKnotVectors()
The w component in control point is used as control point's weight, whatever it is a CurveDimension.TWO_DIMENSIONAL or CurveDimension.THREE_DIMENSIONAL |
class |
NurbsSurface
NurbsSurface is a surface represented by NURBS(Non-uniform rational basis spline),
A NurbsSurface is defined by two NurbsDirection NurbsSurface.getU() and NurbsSurface.getV() . |
class |
Patch
A
Patch is a parametric modeling surface, similar to NurbsSurface , it's also defined by two
PatchDirection , the Patch.getU() and Patch.getV() . |
class |
Shape
The shape describes the deformation on a set of control points, which is similar to the cluster deformer in Maya.
|
Modifier and Type | Method and Description |
---|---|
Geometry |
Deformer.getOwner()
Gets the geometry which owns this deformer
|
Modifier and Type | Method and Description |
---|---|
List<Geometry> |
MorphTargetChannel.getTargets()
Gets all targets associated with the channel.
|
Modifier and Type | Method and Description |
---|---|
static BoundingBox |
BoundingBox.fromGeometry(Geometry geometry)
Construct a bounding box from given geometry
|
static VertexDeclaration |
VertexDeclaration.fromGeometry(Geometry geometry,
boolean useFloat)
Create a
VertexDeclaration based on a Geometry 's layout. |
double |
MorphTargetDeformer.get(Geometry target)
Gets the weight for given geometry, this is a short-handed way to modify weight for target without accessing channel.
|
double |
MorphTargetChannel.get(Geometry target)
Gets the weight for specified geometry
|
double |
MorphTargetChannel.getWeight(Geometry target)
Gets the weight for the specified target, if the target is not belongs to this channel, default value 0 is returned.
|
void |
MorphTargetDeformer.set(Geometry target,
double value)
Sets the weight for given geometry, this is a short-handed way to modify weight for target without accessing channel.
|
void |
MorphTargetChannel.set(Geometry target,
double value)
Sets the weight for specified geometry
|
void |
MorphTargetChannel.setWeight(Geometry target)
Sets the weight for the specified target, default value is 1, range should between 0~1
|
void |
MorphTargetChannel.setWeight(Geometry target,
double weight)
Sets the weight for the specified target, default value is 1, range should between 0~1
|
Copyright © 2019. All rights reserved.