Class MotionKeyAttributes

    • Constructor Detail

      • MotionKeyAttributes

        public MotionKeyAttributes()
    • Method Detail

      • getAttributeNames

        public void getAttributeNames​(java.util.HashSet<java.lang.String> attributes)
        Specified by:
        getAttributeNames in class MotionKey
      • addValues

        public void addValues​(java.util.HashMap<java.lang.String,​SplineSet> splines)
        Description copied from class: MotionKey
        Defines method to add a a view to splines derived form this key frame. The values are written to the spline
        Specified by:
        addValues in class MotionKey
        Parameters:
        splines - splines to write values to
      • setValue

        public boolean setValue​(int type,
                                int value)
        Description copied from interface: TypedValues
        Used to set integer values
        Specified by:
        setValue in interface TypedValues
        Overrides:
        setValue in class MotionKey
        Returns:
        true if it accepted the value
      • setValue

        public boolean setValue​(int type,
                                float value)
        Description copied from interface: TypedValues
        Used to set float values
        Specified by:
        setValue in interface TypedValues
        Overrides:
        setValue in class MotionKey
        Returns:
        true if it accepted the value
      • setInterpolation

        public void setInterpolation​(java.util.HashMap<java.lang.String,​java.lang.Integer> interpolation)
        Description copied from class: MotionKey
        Key frame can specify the type of interpolation it wants on various attributes For each string it set it to -1, CurveFit.LINEAR or CurveFit.SPLINE
        Overrides:
        setInterpolation in class MotionKey
      • setValue

        public boolean setValue​(int type,
                                java.lang.String value)
        Description copied from interface: TypedValues
        Used to set String values
        Specified by:
        setValue in interface TypedValues
        Overrides:
        setValue in class MotionKey
        Returns:
        true if it accepted the value
      • getId

        public int getId​(java.lang.String name)
      • getCurveFit

        public int getCurveFit()
      • printAttributes

        public void printAttributes()