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

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

221. 动画状态脚本(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 55%]

... ```typescript //继承自AnimatorStateScript(动画状态脚本) export default class AnimatorStateScriptTest extends Laya.AnimatorStateScript { constructor() { super(); this._text = null; } get text() { return this._text; } set text(value) { this._text = value; } /** * 动画状态开始时执行...

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

222. laya.map.GridSprite_API3.0 [ 55%]

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

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

223. laya.map.TileAniSprite_API3.0 [ 55%]

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

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

224. laya.display.FrameAnimation_API3.0 [ 55%]

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

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

225. laya.d3.core.QuaternionKeyframe_API3.0 [ 55%]

...Properties inTangent inWeight outTangent outWeight time value weightedMode defaultWeight Methods clone cloneTo Constructors constructor new QuaternionKeyframe(weightMode?: boolean): QuaternionKeyframe Overrides Keyframe.constructor Defined in laya/d3/core/QuaternionKeyframe.ts:20 创建一个 Quater...

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

226. 动画状态脚本(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 55%]

... ```typescript //继承自AnimatorStateScript(动画状态脚本) export default class AnimatorStateScriptTest extends Laya.AnimatorStateScript { private _text:Laya.Text; constructor() { super(); } get text():Laya.Text { return this._text; } set text(value) { this._text = value; } /** * 动画状态...

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

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

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

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

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

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

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

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

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

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

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

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

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