Home | History | Annotate | Download | only in animation

Lines Matching refs:offsets

42  * A pose is a list of offsets that say where a mesh vertices should be for this pose.
49 private Vector3f[] offsets;
55 public Pose(String name, int targetMeshIndex, Vector3f[] offsets, int[] indices){
58 this.offsets = offsets;
68 * Applies the offsets of this pose to the vertex buffer given by the blend factor.
70 * @param blend Blend factor, 0 = no change to vertex buffer, 1 = apply full offsets
75 Vector3f offset = offsets[i];
99 if(this.offsets!=null) {
100 result.offsets = new Vector3f[this.offsets.length];
101 for(int i=0;i<this.offsets.length;++i) {
102 result.offsets[i] = this.offsets[i].clone();
115 out.write(offsets, "offsets", null);
123 offsets = (Vector3f[]) in.readSavableArray("offsets", null);