public class PointSkinAttachment.FrameConnection extends PointSkinAttachment.Connection
myWeight
Constructor and Description |
---|
FrameConnection(SkinMeshBody.FrameInfo frameInfo,
double w) |
Modifier and Type | Method and Description |
---|---|
boolean |
accumulate(Vector3d pos,
Vector3d tmp)
Adds this connection's point value contribution to
pos . |
boolean |
addPointForce(Vector3d f) |
PointSkinAttachment.FrameConnection |
copy() |
int |
getFrameIndex() |
DynamicComponent |
getMaster()
Returns the master component associated with this connection.
|
getWeight, setWeight
public FrameConnection(SkinMeshBody.FrameInfo frameInfo, double w)
public int getFrameIndex()
public DynamicComponent getMaster()
PointSkinAttachment.Connection
getMaster
in class PointSkinAttachment.Connection
public boolean accumulate(Vector3d pos, Vector3d tmp)
PointSkinAttachment.Connection
pos
.
Not all connections implement this method; sometimes the calculation is
more complex. If this method does nothing, then it should return
false
.accumulate
in class PointSkinAttachment.Connection
pos
- accumulates point value contributiontmp
- temporary vector for optional usepublic PointSkinAttachment.FrameConnection copy()
copy
in class PointSkinAttachment.Connection
public boolean addPointForce(Vector3d f)
addPointForce
in class PointSkinAttachment.Connection