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

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

341. laya.ui.TextInput [ 92%]

...组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node changeText(text:String):void 快速更改显示文本。不进行排版计算...

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

342. laya.d3.math.BoundSphere [ 92%]

...umber包围球的半径。Constructor DetailBoundSphere()Constructorpublic function BoundSphere(center:Vector3, radius:Number) 创建一个 BoundSphere 实例。 Parameters center:Vector3 — 包围球的中心。  radius:Number — 包围球的半径。 Method Detailclone()method public function c...

来源: laya_api 发布时间: 20170929

343. UI-List [ 92%]

...项目开发更高效。// 这段代码需要在setupDemo之前执行。 (function() { // 项渲染器 var Box = Laya.Box; var Image = Laya.Image; var WID = 373, HEI = 85; function Item() { Item.__super.call(this); this.size(WID, HEI); this.img = new Image(); this.addChild(this.img); this.setImg = f...

来源: Laya_示例 发布时间: 20241001

344. laya.media.SoundChannel_API3.0 [ 92%]

...则值为 true;否则,值为 false。 off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删除...

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

345. laya.d3.core.MeshRenderer [ 92%]

...否是鼠标事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦...

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

346. laya.ui.Panel [ 92%]

...组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.time...

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

347. laya.device.Shake [ 92%]

...否是鼠标事件。 EventDispatcher off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦...

来源: laya_api 发布时间: 20170929

348. laya.d3.resource.models.QuadMesh [ 92%]

...y Detaillongpropertylong:Number 返回长度 Implementation     public function get long():Number    public function set long(value:Number):voidwidthproperty width:Number 返回宽度 Implementation     public function get width():Number    public function set width(value:Number):vo...

来源: laya_api 发布时间: 20170929

349. laya.d3.core.scene.ITreeNode [ 92%]

...ct(object:BaseRender):voidITreeNodeMethod DetailaddTreeNode()method public function addTreeNode(renderObj:BaseRender):void Parameters renderObj:BaseRendercullingObjects()method  public function cullingObjects(boundFrustum:BoundFrustum, testVisible:Boolean, flags:int, cameraPosition:Vector3, project...

来源: laya_api 发布时间: 20170929

350. 我想动态改自定义shader里的值,应该怎么写?? [ 92%]

...我这样写set的时候报错 Uncaught TypeError: this._setValue is not a function at CustomMaterial.setAlphaTestValue (CustomMaterial.js:34) at LayaAir3D.js:94CustomMaterial.setAlphaTestValue @ CustomMaterial.js:34 (anonymous) function CustomMaterial() {     CustomMaterial.__super.call(this);  ...

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