本文整理汇总了Java中com.panoramagl.enumerations.PLCameraAnimationType.PLCameraAnimationTypeNone方法的典型用法代码示例。如果您正苦于以下问题:Java PLCameraAnimationType.PLCameraAnimationTypeNone方法的具体用法?Java PLCameraAnimationType.PLCameraAnimationTypeNone怎么用?Java PLCameraAnimationType.PLCameraAnimationTypeNone使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.panoramagl.enumerations.PLCameraAnimationType
的用法示例。
在下文中一共展示了PLCameraAnimationType.PLCameraAnimationTypeNone方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: initializeValues
import com.panoramagl.enumerations.PLCameraAnimationType; //导入方法依赖的package包/类
@Override
protected void initializeValues()
{
mIsNotLocked = mIsFovEnabled = true;
mFovRange = PLRange.PLRangeMake(PLConstants.kDefaultFovMinValue, PLConstants.kDefaultFovMaxValue);
mFov = mInitialFov = PLMath.normalizeFov(PLConstants.kDefaultFov, mFovRange);
this.setInternalFovSensitivity(PLConstants.kDefaultFovSensitivity);
mMinDistanceToEnableFov = PLConstants.kDefaultMinDistanceToEnableFov;
this.setInternalRotationSensitivity(PLConstants.kDefaultRotationSensitivity);
mZoomLevels = PLConstants.kDefaultZoomLevels;
mInitialLookAt = PLRotation.PLRotationMake(0.0f, 0.0f, 0.0f);
mLookAtRotation = PLRotation.PLRotationMake(0.0f, 0.0f, 0.0f);
mIsAnimating = false;
mAnimationType = PLCameraAnimationType.PLCameraAnimationTypeNone;
mAnimationTimer = null;
super.initializeValues();
this.setReverseRotation(true);
}
示例2: internalStopAnimation
import com.panoramagl.enumerations.PLCameraAnimationType; //导入方法依赖的package包/类
protected boolean internalStopAnimation(Object sender)
{
if(mIsAnimating)
{
mIsAnimating = false;
this.setAnimationTimer(null);
if(mInternalListener != null)
mInternalListener.didEndAnimation(sender, this, mAnimationType);
if(mListener != null)
mListener.didEndAnimation(sender, this, mAnimationType);
mAnimationType = PLCameraAnimationType.PLCameraAnimationTypeNone;
return true;
}
return false;
}