大约有 292 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0104 秒)
...de bottom cacheAs centerX centerY components customRenderEnable dataSource defaultTipHandler destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mous...
来源: 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
...aya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns List Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from T...
来源: Laya3.0_api 发布时间: 20231115
...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 mouseThrough mouseThrough: boolean = false Inherited from Text.mouseThrough ...
来源: Laya3.0_api 发布时间: 20231115
...,实现子弹飞行逻辑及对象池回收机制 */ @regClass() export default class Bullet extends Laya.Script { constructor() { super(); } onEnable(): void { //设置初始速度 let rig: Laya.RigidBody = this.owner.getComponent(Laya.RigidBody); rig.setVelocity({ x: 0, y: -10 }); } onTriggerEnt...
来源: Laya3.0_文档 发布时间: 20251010
...efined in laya/ui/Clip.ts:151 创建一个新的 Clip 示例。 Parameters Default value url: string = null 资源类库名或者地址 Default value clipX: number = 1 x方向分割个数 Default value clipY: number = 1 y方向分割个数 Returns Clip Properties Optional _extra _extra: INodeExtra I...
来源: Laya3.0_api 发布时间: 20231115
...s UIComponent.constructor Defined in laya/ui/ColorPicker.ts:162 Parameters Default value createChildren: boolean = true Returns ColorPicker Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited...
来源: Laya3.0_api 发布时间: 20231115
...e Overrides Image.constructor Defined in laya/ui/AdvImage.ts:29 Parameters Default value skin: string = null Returns AdvImage Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:58 _ownGraphics _ownGraphics: boolean = false Inherited from Animatio...
来源: Laya3.0_api 发布时间: 20231102
...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 mouseThrough mouseThrough: boolean = false Inherited from Text.mouseThrough ...
来源: Laya3.0_api 发布时间: 20231115
...ined in laya/ui/HSlider.ts:92 创建一个 HSlider 类实例。 Parameters Default value skin: string = null 皮肤。 Returns HSlider Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from...
来源: Laya3.0_api 发布时间: 20231115