j3d.org Code

org.j3d.loaders.discreet
Class ScaleData

java.lang.Object
  extended by org.j3d.loaders.discreet.TrackData
      extended by org.j3d.loaders.discreet.ScaleData

public class ScaleData
extends TrackData

A single set of scale data from the keyframe tracking.

Scales are independent on each axis and may include negative values.

The data represented is

     struct {
        short framenum
        int unknown
        float scale_x
        float scale_y
        float scale_z
     }
 
For this implementation, the unknown values are ignored and not stored.

Version:
$Revision: 1.1 $
Author:
Justin Couch

Field Summary
 float xScale
          The x scale value
 float yScale
          The y scale value
 float zScale
          The z scale value
 
Fields inherited from class org.j3d.loaders.discreet.TrackData
frameNumber, splineData, splineFlags
 
Constructor Summary
ScaleData()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xScale

public float xScale
The x scale value


yScale

public float yScale
The y scale value


zScale

public float zScale
The z scale value

Constructor Detail

ScaleData

public ScaleData()

j3d.org Code

Latest Info from http://code.j3d.org/
Copyright © 2001 - j3d.org