大约有 854 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0046 秒)
Laya_社区(263) Laya3.0_api(263) Laya2.0_api(142) laya_api(119) Laya3.0_文档(34) Laya2.0_文档(28) Laya_示例(3) Laya2.0_示例(2)
...。 Parameters type:String caller:* listener:Function onceOnly:Boolean (default = false)ReturnsEventDispatcheron()method override public function on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 监视陀螺仪运动。 Parameters type:String — 回调函数接受...
来源: laya_api 发布时间: 20170929
...eters position: Vector3 粒子位置。 direction: Vector3 粒子方向。 Default value rand: Rand = null Default value randomSeeds: Uint32Array = null Returns void Globals "laya/d3/core/particleShuriKen/module/shape/BaseShape" ParticleSystemShapeType BaseShape constructor enable randomDirection sh...
来源: Laya3.0_api 发布时间: 20231115
...t class AC { public static myname:string = "I'm AC!"; } } export default AM; b.ts ----------------------------------- module AM{ export class BC { public static myname:string = "I'm BC!"; } } export default AM; c.ts --------------------------------------- import AM from './a'; im...
来源: Laya_社区 发布时间: 20180918
...。 Parameters type:String caller:* listener:Function onceOnly:Boolean (default = false)ReturnsEventDispatcheron()method override public function on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher 监视陀螺仪运动。 Parameters type:String — 回调函数接受...
来源: Laya2.0_api 发布时间: 20190513
...型,创建一个 HTMLCanvas 实例。 Parameters createCanvas:Boolean (default = false)Method Detail_getSource()methodoverride public function _getSource():*Returns*clear()method public function clear():void 清空画布内容。 destroy()method override public function destroy():void 销毁。...
来源: Laya2.0_api 发布时间: 20190513
... = null):TerrainRes 异步回调 Parameters data:* propertyParams:Object (default = null) constructParams:Array (default = null)ReturnsTerrainResload()method public static function load(url:String, complete:Handler):void 加载地形模板,注意:不缓存。 Parameters url:String — 模板地...
来源: Laya2.0_api 发布时间: 20190513
...addChild(new Laya.MeshSprite3D(Laya.Mesh.load("3d/LayaScene_/Library/unity default resources-Cube.lm"))); var skinMesh1 = rootSkinMesh.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("3d/LayaScene_/Library/unity default resources-Sphere.lm"))); LayaScene_.zip 2017-02-23 0 0 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20170223
...自己添加的内容: 1. 可绑定内容的骨骼动画 export default class BindSkeleton extends Laya.Skeleton { private __bindList:BindSource[]; constructor(){ super(); this.__bindList=[]; } /** * 绑定 * @param source */ bind(source:BindSource):void{ let index:number=this.__b...
来源: Laya_社区 发布时间: 20190805
...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 mouseThrough mouseThrough: boolean = false Inherited from Text.mouseThrough ...
来源: Laya3.0_api 发布时间: 20231115
...本,在Laya1.0中生效,在Laya2.0中不生效 laya中代码:export default class Test { public static onClick():void{ alert("123456"); } public static onClick1():void{ } } 原生中代码:ConchJNI.RunJS("Test.onClick()"); 原生中报错:...
来源: Laya_社区 发布时间: 20190313