getVertexPosition method

  1. @override
Vector3 getVertexPosition(
  1. int index,
  2. Vector3 target
)
override

Returns the local-space position of the vertex at the given index, taking into account the current animation state of both morph targets and skinning.

index - The vertex index. target - The target object that is used to store the method's result. return Vector3 The vertex position in local space.

Implementation

@override
	Vector3 getVertexPosition(int index, Vector3 target ) {
		super.getVertexPosition( index, target );
		this.applyBoneTransform( index, target );
		return target;
	}