• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,062 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0052 秒)

841. 角色模型的材质列表切换后,不播放动作了 [ 49%]

...number = 1; constructor() { super(); this.setShaderName("CustomShader"); } public getDiffuseTexture(): Laya.BaseTexture { return this._getTexture(CustomMaterial.DIFFUSETEXTURE_ID); } public setDiffuseTexture(value: Laya.BaseTexture): void { this._setTexture(CustomMaterial.DIFFUSETEXTURE_ID, value); ...

来源: Laya_社区 发布时间: 20170815

842. 关于资源版本号的问题咨询 [ 49%]

...并确定是否有需要添加的版本号,因为在ResourceManager的 public static function addVersionPrefix(originURL:String):String { if (manifest && manifest[originURL]) { if (type == FILENAME_VERSION) return manifest[originURL]; return manifest[originURL] + "/" + originURL; } return ...

来源: Laya_社区 发布时间: 20180415

843. 怎么清理掉 Sprite3D 相关的缓存资源, 资源destroy后内存还下降、。 [ 49%]

...清理后,内存没下降。   清理方法            override public function destroy(destroyChild:Boolean = true):void {             if(effect3D != null){                 effect3D.destroy();                 effect3D = null;             }    ...

来源: Laya_社区 发布时间: 20180517

844. Animation创建和销毁的问题 [ 49%]

...:as3 private var testAnim1:Animation; private var testAnim2:Animation; public function LayaSample() { //初始化引擎 Laya.init(1136, 640,WebGL); trace("ok..."); Laya.stage.on(Event.KEY_DOWN, this, this.onKeydown); } private function onKeydown(event:Event):void { var self:* = this; if(event.keyC...

来源: Laya_社区 发布时间: 20180424

845. laya.ui.UIComponent [ 49%]

...s No Frames UIComponentProperties | Methods | Events Packagelaya.uiClasspublic class UIComponentInheritanceUIComponent Sprite Node EventDispatcher ObjectSubclasses Box, Button, Clip, ColorPicker, ComboBox, Image, Label, ProgressBar, ScrollBar, Slider, TipManager, WXOpenDataViewer Component 是ui...

来源: Laya2.0_api 发布时间: 20190513

846. laya底层的加载为什么可以new两次 [ 49%]

...要直接使用 <code>new HTMLImage<code> 。 **</p> */ public static var create:Function = function(src:String, def:* = null):HTMLImage { return new HTMLImage(src, def); } tobe • 2018-07-02 17:35 @Laya_Aaron:额,这里第一句话是 创建一个实例,new HTMLImage.create()...

来源: Laya_社区 发布时间: 20180702

847. laya.d3.graphics.IndexBuffer3D_API3.0 [ 49%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/graphics/IndexBuffer3D" IndexBuffer3D Class IndexBuffer3D 请使用LayaGL.RenderOBJCreate.createIndexBuffer3D来创建 IndexBuffer3D 类用...

来源: Laya3.0_api 发布时间: 20231115

848. laya.ui.ComboBox [ 49%]

...ames No Frames ComboBoxProperties | Methods | Events Packagelaya.uiClasspublic class ComboBoxInheritanceComboBox Component Sprite Node EventDispatcher Object ComboBox 组件包含一个下拉列表,用户可以从该列表中选择单个值。 Public Properties Hide Inherited Public Properties ...

来源: laya_api 发布时间: 20170929

849. laya.device.motion.Gyroscope_API3.0 [ 49%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/device/motion/Gyroscope" Gyroscope Class Gyroscope 使用Gyroscope.instance获取唯一的Gyroscope引用,请勿调用构造函数。 listen()...

来源: Laya3.0_api 发布时间: 20231115

850. laya.ui.Label [ 49%]

...Frames No Frames LabelProperties | Methods | Events Packagelaya.uiClasspublic class LabelInheritanceLabel Component Sprite Node EventDispatcher ObjectSubclasses TextInput Label 类用于创建显示对象以显示文本。 See alsolaya.display.TextPublic Properties Hide Inherited Public Propertie...

来源: laya_api 发布时间: 20170929