大约有 2,728 项符合查询结果, 库内数据总量为 30,782 项。 (搜索耗时: 0.0061 秒)
Laya_社区(1131) Laya3.0_api(543) Laya2.0_api(297) laya_api(221) Laya2.0_文档(201) Laya_示例(139) Laya2.0_示例(109) Laya3.0_文档(87)
...xt3DOBJ.ts:15 Methods applyContext applyContext(cameraUpdateMark: number): void Implementation of IRenderContext3D.applyContext Defined in laya/d3/RenderObjs/RenderObj/RenderContext3DOBJ.ts:43 设置IRenderContext Parameters cameraUpdateMark: number Returns void drawRenderElement drawRenderElement(r...
来源: Laya3.0_api 发布时间: 20231115
...有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { Laya.loader.load(this.skin).then( ()=>{ this.onColorPickerSkinLoaded(); } ); } private onColorPickerSkinLoaded(e: any = null): void { let colorPicker: Laya.ColorPicker = new Laya.ColorPicker(); colorPicker.selectedC...
来源: Laya3.0_文档 发布时间: 20241014
...Isolate*) [x86] 2 #01 pc 001de2dc liblayaair.so laya::JSSingleThread::run(void (*)(void*), void*) [x86] 3 #02 pc 001d7aa8 liblayaair.so laya::JCConchRender::renderFrame(long, bool) [x86] 4 #03 pc 001ebf13 liblayaair.so Java_layaair_game_browser_ConchJNI_onDrawFrame [x86] 5 #04 pc 0012ebb7 /syste...
来源: Laya_社区 发布时间: 20200814
...ollision closestPointBoxPoint(box:BoundBox, point:Vector3, out:Vector3):void[static] 空间中包围盒与一点的最近点 Collision closestPointPlanePoint(plane:Plane, point:Vector3, out:Vector3):void[static] 空间中平面与一点的最近点 Collision closestPointPointTriangle(point:...
来源: laya_api 发布时间: 20170929
...ya.stage.bgColor = "#232628"; this.createTexts(); } private createTexts(): void { var t1: Text = this.createText(); t1.overflow = Text.VISIBLE; t1.pos(10, 10); var t2: Text = this.createText(); t2.overflow = Text.SCROLL; t2.pos(10, 110); var t3: Text = this.createText(); t3.overflow = Text.HIDDEN; t...
来源: Laya2.0_文档 发布时间: 20210715
... Returns string Methods addSubShader addSubShader(subShader: SubShader): void Defined in laya/d3/shader/Shader3D.ts:251 添加子着色器。 Parameters subShader: SubShader Returns void getSubShaderAt getSubShaderAt(index: number): SubShader Defined in laya/d3/shader/Shader3D.ts:261 在特定索引...
来源: Laya3.0_api 发布时间: 20231102
...rivate txtInfo: Text; constructor() { this.setup(); } private setup(): void { var gap: number = 10; //创建一个Sprite充当音效播放按钮 var soundButton: Sprite = this.createButton("播放音效"); soundButton.x = (Laya.stage.width - soundButton.width * 2 + gap) / 2; soundButton.y = (L...
来源: Laya_社区 发布时间: 20190421
...ionUtils closestPointBoxPoint(box:BoundBox, point:Vector3, out:Vector3):void[static] 空间中包围盒与一点的最近点 CollisionUtils closestPointPlanePoint(plane:Plane, point:Vector3, out:Vector3):void[static] 空间中平面与一点的最近点 CollisionUtils closestPointPointTrian...
来源: Laya2.0_api 发布时间: 20190513
... 2 人 cuixueying • 2016-01-07 16:04 private function init(e:Event=null):void { var sp1:Sprite=new Sprite(); sp1.graphics.beginFill(0xFF00FF); sp1.graphics.drawRect(100,100,200,200); sp1.graphics.endFill(); addChild(sp1); sp1.addEventListener(MouseEvent.CLICK,onSp1); var sp2:Sprite=new Sprite(); s...
来源: Laya_社区 发布时间: 20151102
...ics.endFill(); sp.mask=mask; addEventListener(Event.ENTER_FRAME,function():void { mask.x++; mask.cacheAsBitmap=true; sp.cacheAsBitmap=true; }); LayaAir环境下: 1、静态遮罩 Laya.init(600,400) var sp:Sprite=new Sprite(); sp.graphics.drawRect(0,0,200,200,'#FFFF00'); Laya.stage.addChild(sp); ...
来源: Laya_社区 发布时间: 20170207