public class BoneEnvelope
extends java.lang.Object
Constructor and Description |
---|
BoneEnvelope(Structure boneStructure,
Matrix4f armatureWorldMatrix,
boolean fixUpAxis)
The constructor of bone envelope.
|
Modifier and Type | Method and Description |
---|---|
float |
getWeight() |
boolean |
isInEnvelope(Vector3f point)
The method verifies if the given point is inside the envelope.
|
java.lang.String |
toString() |
public BoneEnvelope(Structure boneStructure, Matrix4f armatureWorldMatrix, boolean fixUpAxis)
boneStructure
- the blender bone structurearmatureWorldMatrix
- the world matrix of the armature objectfixUpAxis
- a variable that tells if we use the Y-is up axis orientationpublic boolean isInEnvelope(Vector3f point)
point
- the point in 3D space (MUST be in a world coordinate space)public float getWeight()
public java.lang.String toString()
toString
in class java.lang.Object