大约有 1,063 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0066 秒)
Laya_社区(391) Laya2.0_api(241) laya_api(189) Laya2.0_文档(81) Laya_示例(65) Laya2.0_示例(51) Laya3.0_api(32) Laya3.0_文档(13)
...0776", "#EC8A49", "#AF3666", "#F6C84C", "#4C779A"]; private var colorCount:int = 0; private var isDown:Boolean = false; private var path:Array = []; private var color:String = colors[0]; private var liveGraphics:Graphics; private var canvasGraphics:Graphics; public function PIXI_Example_21() { Laya....
来源: Laya2.0_示例 发布时间: 20260303
... 1.0 }, u_EmissionColor: { type: Color, default: [0, 0, 0, 0] }, u_EmissionIntensity: { type: Float, default: 1.0 }, u_EmissionTexture: { type: Texture2D, options: { define: "EMISSIONTEXTURE" } }, }, defines: { EMISSION: { type: bool, default: false }, ENABLEVERTEXCOLOR: { type: bool, default: false...
来源: Laya3.0_文档 发布时间: 20251010
..._TRANSPARENT SHADERDEFINE_ADDTIVEFOG SHADERDEFINE_ALPHATEST SHADERDEFINE_MAINTEXTURE Accessors MaterialDefine MaterialProperty _defineDatas alphaTest alphaTestValue blend blendDst blendDstAlpha blendDstRGB blendEquation blendEquationAlpha blendEquationRGB blendSrc blendSrcAlpha blendSrcRGB cpuMemory...
来源: Laya3.0_api 发布时间: 20231115
...AS); } private function createAnimation():void { var url:Array=; for(var i:int=1;i<30;i++) { if(i<10) { url.push("res/fighter/fighter/rollSequence000"+i+".png"); } else { url.push("res/fighter/fighter/rollSequence00"+i+".png"); } } Animation.createFrames(url,"myFighter"); fly=new Animation(); ...
来源: Laya_社区 发布时间: 20160610
...f5a20f00f1>:0) LayaAir3D.exportResource (System.Boolean isDebug, System.Int32 Platformindex, System.String lastname) (at <83305a103c6a46948a18b7f5a20f00f1>:0) LayaAir3D.OnGUI () (at <83305a103c6a46948a18b7f5a20f00f1>:0) System.Reflection.MonoMethod.Invoke (System.Object obj, System.Re...
来源: Laya_社区 发布时间: 20191209
...e var counter:Clip; /***计数器当前索引***/ private var currentIndex:int; /***控制器按钮***/ private var controller:Button; public function UI_Clip() { // 不支持WebGL时自动切换至Canvas Laya.init(800, 600, WebGL); //画布垂直居中对齐 Laya.stage.alignV = Stage.ALIGN_MIDDLE; ...
来源: Laya2.0_文档 发布时间: 20210714
...**根据选择tab的索引切换页面**/ private function onSelecte(index:int):void { //切换ViewStack子页面 comp.viewStack.selectedIndex=index; } } } ``` 运行示例代码,效果如动图10所示。 (动图10)
来源: Laya2.0_文档 发布时间: 20210715
...umber = 1):void 绘制圆形。 Graphics drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 Graphics drawLine(fromX:Number, fromY:Number, toX:Number, toY:Number, lineColor:String, lineWidth:Number = 1):void 绘制一条线。 Graphics dra...
来源: laya_api 发布时间: 20170929
...andler; import Tween = Laya.Tween; import WebGL = Laya.WebGL; export class Interaction_Hold { private HOLD_TRIGGER_TIME: number = 1000; private apePath: string = "../../res/apes/monkey2.png"; //触发hold事件时间为1秒 private ape: Sprite; private isApeHold: Boolean; constructor() { // 不支...
来源: Laya_示例 发布时间: 20260303
...sion.WAKE_LOCK" /> <uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> <uses-permission android:name="android.permission...
来源: Laya_社区 发布时间: 20170722