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