大约有 48 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0032 秒)
...于创建HalfFloat工具。 Public Methods MethodDefined By convertToNumber(float16bits:int):Number[static] convert a half float number bits to a number.HalfFloatUtils roundToFloat16Bits(num:Number):int[static] round a number to a half float number bits.HalfFloatUtilsMethod DetailconvertToNu...
来源: Laya2.0_api 发布时间: 20190513
...eSimulation : Boolean = false[static] PhysicsSimulation fixedTimeStep : Number物理模拟器帧的间隔时间:通过减少fixedTimeStep可增加模拟精度,默认是1.0 / 60.0。PhysicsSimulation gravity : Vector3 获取重力。 PhysicsSimulation maxSubSteps : int = 1物理引擎在...
来源: Laya2.0_api 发布时间: 20190513
...象属性的渐变。 Public Properties PropertyDefined By progress : Number[write-only] 设置当前执行比例Tween update : Handler更新回调,缓动数值发生变化时,回调变化的值TweenPublic Methods MethodDefined By clear():void 停止并清理当前缓动。 Tween ...
来源: laya_api 发布时间: 20170929
...象属性的渐变。 Public Properties PropertyDefined By progress : Number[write-only] 设置当前执行比例Tween repeat : int = 1重播次数,如果repeat=0,则表示无限循环播放Tween update : Handler更新回调,缓动数值发生变化时,回调变化的值TweenPublic...
来源: Laya2.0_api 发布时间: 20190513
...archy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anch...
来源: Laya2.0_api 发布时间: 20190513
... export class Interaction_Swipe { //swipe滚动范围 private TrackLength: number = 200; //触发swipe的拖动距离 private TOGGLE_DIST: number = this.TrackLength / 2; private buttonPosition: number; private beginPosition: number; private endPosition: number; private button: Sprite; constructor() ...
来源: Laya_示例 发布时间: 20241117
... export class Interaction_Swipe { //swipe滚动范围 private TrackLength: number = 200; //触发swipe的拖动距离 private TOGGLE_DIST: number = this.TrackLength / 2; private buttonPosition: number; private beginPosition: number; private endPosition: number; private button: Sprite; constructor() ...
来源: Laya2.0_示例 发布时间: 20241117
...时间轴动画的类。 Public Properties PropertyDefined By scale : Number = 1 缩放动画播放的速度。TimeLine total : int[read-only] 得到总帧数。 TimeLinePublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By addLabel(label:String, offs...
来源: laya_api 发布时间: 20170929
...时间轴动画的类。 Public Properties PropertyDefined By scale : Number = 1 缩放动画播放的速度。TimeLine total : int[read-only] 得到总帧数。 TimeLinePublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By addLabel(label:String, offs...
来源: Laya2.0_api 发布时间: 20190513
...ing = "LayaBox"; for (var i = 0, len = demoString.length; i > 1; var endY: number = Laya.stage.height / 2 - 50; var demoString: string = "LayaBox"; for (var i: number = 0, len: number = demoString.length; i > 1; var endY:int = Laya.stage.height / 2 - 50; var demoString:String = "LayaBox"; for (var i...
来源: Laya_示例 发布时间: 20241117