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

大约有 431 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0064 秒)

221. Text的中划线(删除线) [ 55%]

...               case 'left':                 default :                     break ;                 }             y+=this._charSize.height;             this._graphics.drawLine(x,y,x+lineWidth,y,this.underlineCol...

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

222. Clip组件Bug:Play方法无法结束循环 [ 55%]

...改源码,现在有插件开发,修改源码会有问题): export default class GifView extends Laya.Clip {     /**      *开始帧位置      *      * @private      * @memberof GifView      */     private frameIndex = 0;     /**      *...

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

223. 多光源渲染(TypeScript-3D基础(TS)-LayaAir3D之灯光) [ 55%]

...ight))的代码来做讲解: > 移动灯光脚本 ```typescript export default class LightMoveScript extends Laya.Script3D { //需要操作的光源数组 public lights = []; //光源对应的位置偏移数组 public offsets = []; //光源对应的移动半径数组 public moveRanges = []; publ...

来源: Laya2.0_文档 发布时间: 20210715

224. 多光源渲染(JavaScript-3D基础(JS)-LayaAir3D之灯光) [ 55%]

...ight))的代码来做讲解: > 移动灯光脚本 ```typescript export default class LightMoveScript extends Laya.Script3D { //需要操作的光源数组 public lights = []; //光源对应的位置偏移数组 public offsets = []; //光源对应的移动半径数组 public moveRanges = []; publ...

来源: Laya2.0_文档 发布时间: 20210715

225. laya.display.EffectAnimation_API3.0 [ 55%]

...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 loop loop: boolean Inherited from AnimationBase.loop Defined in laya/display...

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

226. laya.media.SoundNode_API3.0 [ 55%]

...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 mouseThrough mouseThrough: boolean = false Inherited from Text.mouseThrough ...

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

227. laya.display.Sprite_API3.0 [ 55%]

...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 mouseThrough mouseThrough: boolean = false Defined in laya/display/Sprite.ts...

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

228. Laya2.7.1 射线提示rayCast未定义 [ 55%]

Laya2.7.1 射线提示rayCast未定义 export default class click3d extends Laya.Script3D{ constructor() { super(); //创建场景 this.scene = Laya.stage.addChild(new Laya.Scene3D()); //添加相机 this.camera = (this.scene.addChild(new Laya.Camera(0, 0.1, 100))); this.camera.transform.translate(...

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

229. Laya.timer.loop() 报错 Cannot read property 'loop' of null [ 54%]

.../ import { List } from "laya/ui/List"; import { Laya } from "laya"; export default class test_move extends Image{ // /** @prop {name:move_img, tips:"用来移动的箭头", type:Image} */ // public _move_img: Image; // public _list: List; //创建一个 List 类的实例对象 list 。 private n:num...

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

230. ios苹果手机,同时播放声音出现巨大杂音 [ 54%]

...就是ios有问题。代码如下:附件是两个音频文件   export default class GameMain extends Laya.Scene {     constructor() {          super();          //设置单例的引用方式,方便其他类引用         GameMain.instance = this;     ...

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