| AndBase开发框架 1.6

- 首页
- 相关页面
- 命名空间
- 类
- 文件

- 类列表
- 类索引
- 类继承关系
- 类成员

全部 类 命名空间 文件 函数 变量 枚举值 页
Public 成员函数 | Protected 成员函数 | Private 属性 | 所有成员列表
com.ab.view.app.AbRotate3dAnimation类 参考
类 com.ab.view.app.AbRotate3dAnimation 继承关系图:

## Public 成员函数
| AbRotate3dAnimation (float fromDegrees, float toDegrees, float centerX, float centerY, float depthZ, boolean reverse)
void | initialize (int width, int height, int parentWidth, int parentHeight)

## Protected 成员函数
void | applyTransformation (float interpolatedTime, Transformation t)

## Private 属性
final float | mFromDegrees
final float | mToDegrees
final float | mCenterX
final float | mCenterY
final float | mDepthZ
final boolean | mReverse
Camera | mCamera

## 详细描述

© 2012 amsoft.cn 名称：AbRotate3dAnimation.java 描述： An animation that rotates the view on the Y axis between two specified angles. This animation also adds a translation on the Z axis (depth) to improve the effect.

作者
  还如一梦中

版本
  v1.0

日期
  ：2013-8-23 下午2:03:29

## 构造及析构函数说明

com.ab.view.app.AbRotate3dAnimation.AbRotate3dAnimation | ( | float | fromDegrees,
|  | float | toDegrees,
|  | float | centerX,
|  | float | centerY,
|  | float | depthZ,
|  | boolean | reverse
| ) |  |
| inline

Creates a new 3D rotation on the Y axis. The rotation is defined by its start angle and its end angle. Both angles are in degrees. The rotation is performed around a center point on the 2D space, definied by a pair of X and Y coordinates, called centerX and centerY. When the animation starts, a translation on the Z axis (depth) is performed. The length of the translation can be specified, as well as whether the translation should be reversed in time.

参数

  fromDegrees | the start angle of the 3D rotation
  toDegrees | the end angle of the 3D rotation
  centerX | the X center of the 3D rotation
  centerY | the Y center of the 3D rotation
  depthZ | the depth z
  reverse | true if the translation should be reversed, false otherwise

## 成员函数说明

void com.ab.view.app.AbRotate3dAnimation.applyTransformation | ( | float | interpolatedTime,
|  | Transformation | t
| ) |  |
| inline protected

void com.ab.view.app.AbRotate3dAnimation.initialize | ( | int | width,
|  | int | height,
|  | int | parentWidth,
|  | int | parentHeight
| ) |  |
| inline

## 类成员变量说明

Camera com.ab.view.app.AbRotate3dAnimation.mCamera
| private

The m camera.

final float com.ab.view.app.AbRotate3dAnimation.mCenterX
| private

The m center x.

final float com.ab.view.app.AbRotate3dAnimation.mCenterY
| private

The m center y.

final float com.ab.view.app.AbRotate3dAnimation.mDepthZ
| private

The m depth z.

final float com.ab.view.app.AbRotate3dAnimation.mFromDegrees
| private

The m from degrees.

final boolean com.ab.view.app.AbRotate3dAnimation.mReverse
| private

The m reverse.

final float com.ab.view.app.AbRotate3dAnimation.mToDegrees
| private

The m to degrees.

该类的文档由以下文件生成:

- src/com/ab/view/app/AbRotate3dAnimation.java