大约有 1,873 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0067 秒)
Laya_社区(617) Laya3.0_api(529) Laya2.0_api(242) laya_api(178) Laya2.0_文档(88) Laya_示例(78) Laya3.0_文档(73) Laya2.0_示例(68)
...*/ public class CameraMoveScript extends Script { protected var lastMouseX:Number; protected var lastMouseY:Number; protected var yawPitchRoll:Vector3 = new Vector3(); protected var resultRotation:Quaternion = new Quaternion(); protected var tempRotationZ:Quaternion = new Quaternion(); protected var...
来源: Laya_社区 发布时间: 20170218
... name: string Returns AnimatorStateTriggerCondition Accessors id get id(): number Inherited from AnimatorStateCondition.id Defined in laya/d3/component/Animator/AnimatorStateCondition.ts:66 唯一ID Returns number name get name(): string set name(value: string): void Inherited from AnimatorStateCond...
来源: Laya3.0_api 发布时间: 20231102
...ods createRTByContextReleaseTexture createRTByContextReleaseTexture(width: number, height: number, colorFormat: RenderTargetFormat, depthFormat: RenderTargetFormat, mipmap?: boolean, multiSamples?: number, depthTexture?: boolean, sRGB?: boolean): RenderTexture Defined in laya/d3/core/render/PostProc...
来源: Laya3.0_api 发布时间: 20231115
...athCmd 对象 */ public static function drawRoundRect(graghics:Graphics, x:Number, y:Number, width:Number, height:Number, roundRadius:Number, fillColor:String, borderColor:String = null, borderWidth:Number = 0):DrawPathCmd { var paths:Array = []; paths.push(["moveTo", roundRadius, 0]); paths.push(["...
来源: Laya_社区 发布时间: 20190117
... color height texture width x y ID Methods recover Properties color color: number = 4294967295 Defined in laya/display/cmd/DrawImageCmd.ts:34 (可选)绘图颜色 height height: number Defined in laya/display/cmd/DrawImageCmd.ts:31 (可选)高度。 texture texture: Texture | null Defined in...
来源: Laya3.0_api 发布时间: 20231115
TimeLine.addLabel(label:String, offset:Number):TimeLine 亲测! 方法中第二个参数offset无效 如题,TimeLinde的addLabel方法的第二个参数offset没有实际效果! 1.addLabel方法中的第二个参数 offset 是什么意思 2.to方法中的 offset 又是什么意思,二者...
来源: Laya_社区 发布时间: 20170410
... AnimationClip _evaluateClipDatasRealTimeForNative(nodes:*, playCurTime:Number, realTimeCurrentFrameIndexes:Uint16Array, addtive:Boolean):voidAnimationClip _parse(data:*, propertyParams:Object = null, constructParams:Array = null):AnimationClip[static] AnimationClip addEvent(event:Animation...
来源: Laya2.0_api 发布时间: 20190513
...urn 弧度值。 */ static getRotation(x0:number,y0:number,x1:number,y1:number):number;接口说明的返回值是弧度值,而实际上返回的是角度值 附件 : --> 2019-10-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已...
来源: Laya_社区 发布时间: 20191022
...变矩形? this.graphics.drawRect(0, 0, 500, 350, "#ffffff") drawRect(x:Number, y:Number, width:Number, height:Number, fillColor:*, lineColor:* = null, lineWidth:Number = 1):void 参数fillColor:* — 填充颜色,或者填充绘图的渐变对象 我找不到关于这个渐变对象的文档,...
来源: Laya_社区 发布时间: 20180904
...width, texture.height); sprite.size(texture.width, texture.height); let x: number = 300; let y: number = 100; let scaleRatio: number = 1.3; sprite.pos(x, y); // sprite.graphics.drawCircle(texture.width/2, texture.height/2, 10, "#fff333"); //位置偏移 sprite.graphics.drawCircle(texture.width/2 - x...
来源: Laya_社区 发布时间: 20170821