大约有 1,182 项符合查询结果, 库内数据总量为 30,910 项。 (搜索耗时: 0.0044 秒)
Laya3.0_api(429) Laya_社区(250) Laya2.0_api(228) laya_api(183) Laya2.0_文档(54) Laya3.0_文档(26) Laya2.0_示例(6) Laya_示例(6)
... BaseTexture format : int[read-only] 纹理格式 BaseTexture mipmap : Boolean[read-only] 是否使用mipLevel BaseTexture wrapModeU : int 获取纹理横向循环模式。 BaseTexture wrapModeV : int 获取纹理纵向循环模式。 BaseTexturePublic Methods Hide Inherited Public Methods Show ...
来源: Laya2.0_api 发布时间: 20190513
...s number 点积。 Static equals equals(a: ConchVector3, b: ConchVector3): boolean Defined in laya/d3/math/Native/ConchVector3.ts:382 判断两个三维向量是否相等。 Parameters a: ConchVector3 三维向量。 b: ConchVector3 三维向量。 Returns boolean 是否相等。 Static lerp lerp(a:...
来源: Laya3.0_api 发布时间: 20231102
...; public class testVH { protected var _tip:Sprite; protected var _downFlag:Boolean; public function testVH() { IEventDispatcher; Config.isAlpha = true; Config.isAntialias = true; Laya.init(Browser.width,Browser.height,true); Laya.stage.scaleMode = Stage.SCALE_FULL; ChangeSize(); Laya.timer.once(1000...
来源: Laya_社区 发布时间: 20190520
...geUI { private var str:String; private var str2:String; private var isSend:Boolean=false; public function HtmlView1() { super(); // 文本样式一 str="<span color='blue' style=' font" + ":18px 华文琥珀' href='http://ask.layabox.com'>LayaBox</span>" + "<span color='white' style='...
来源: Laya_社区 发布时间: 20170107
...= Laya.SoundManager.playMusic("res/1_3.mp3"); let _pause:boolean = false; btn1.on(Laya.Event.CLICK,this,()=>{ if(!_pause)return; sound.pause(); _pause = false }) ...
来源: Laya_社区 发布时间: 20200921
...tring, attributeMap: any = null, uniformMap: any = null, enableInstancing: boolean = false): Shader3D; ``` 创建时传入用户自定义Shader的name即可,此时便创建了一个名为name的Shader3D壳。 enableInstancing:为true时,表示开启GPU Instancing,即使用该Shader的精灵可...
来源: Laya2.0_文档 发布时间: 20210714
...tring, attributeMap: any = null, uniformMap: any = null, enableInstancing: Boolean = false): Shader3D; ``` 创建时传入用户自定义Shader的name即可,此时便创建了一个名为name的Shader3D壳。 enableInstancing:为true时,表示开启GPU Instancing,即使用该Shader的精灵可...
来源: Laya2.0_文档 发布时间: 20210714
...onDeviceorientation); } private function onDeviceorientation(absolute:Boolean, rotationInfo:RotationInfo):void { info.text = "alpha:" + Math.floor(rotationInfo.alpha) + '\n' + "beta :" + Math.floor(rotationInfo.beta) + '\n' + "gamma:" + Math.floor(rotationInfo.gamma);...
来源: Laya2.0_文档 发布时间: 20210714
..., this, this.onDeviceorientation); } private onDeviceorientation(absolute: Boolean, rotationInfo: Laya.RotationInfo): void { this.info.text = "alpha:" + Math.floor(rotationInfo.alpha) + '\n' + "beta :" + Math.floor(rotationInfo.beta) + '\n' + "gamma:" + Math.floor(rotationInfo.gamma); } } new Gyrosc...
来源: Laya3.0_文档 发布时间: 20240910
...地址 * @param {(event:string,downloadPercent:number,curfile:string)=>boolean} onEvent 事件的回调。 * 事件名称: * 'downloading' 下载中,这时候downloadPercent有值 * 'downloadError' 下载错误 * 'downloadOK' 下载成功。 * 'updating' 更新中,这时候 curfile有值,...
来源: Laya_社区 发布时间: 20180108