大约有 447 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0053 秒)
... ```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
...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 isAloneObject isAloneObject: boolean = false Defined in laya/map/GridSprite....
来源: Laya3.0_api 发布时间: 20231115
...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 mouseThrough mouseThrough: boolean = false Inherited from Text.mouseThrough ...
来源: Laya3.0_api 发布时间: 20231115
...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 loop loop: boolean Inherited from AnimationBase.loop Defined in laya/display...
来源: Laya3.0_api 发布时间: 20231115
...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
... ```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
... case 'left': default : break ; } y+=this._charSize.height; this._graphics.drawLine(x,y,x+lineWidth,y,this.underlineCol...
来源: Laya_社区 发布时间: 20171019
...改源码,现在有插件开发,修改源码会有问题): export default class GifView extends Laya.Clip { /** *开始帧位置 * * @private * @memberof GifView */ private frameIndex = 0; /** *...
来源: Laya_社区 发布时间: 20201211
...ight))的代码来做讲解: > 移动灯光脚本 ```typescript export default class LightMoveScript extends Laya.Script3D { //需要操作的光源数组 public lights = []; //光源对应的位置偏移数组 public offsets = []; //光源对应的移动半径数组 public moveRanges = []; publ...
来源: Laya2.0_文档 发布时间: 20210715
...ight))的代码来做讲解: > 移动灯光脚本 ```typescript export default class LightMoveScript extends Laya.Script3D { //需要操作的光源数组 public lights = []; //光源对应的位置偏移数组 public offsets = []; //光源对应的移动半径数组 public moveRanges = []; publ...
来源: Laya2.0_文档 发布时间: 20210715