大约有 479 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0042 秒)
Laya3.0_api(137) Laya_社区(113) Laya2.0_api(94) laya_api(91) Laya2.0_文档(27) Laya3.0_文档(14) Laya2.0_示例(2) Laya_示例(1)
...示了如何通过代码创建选中框中的下拉选项,并通过点击获取到自己的点击是哪一条选项。有兴趣的读者可以自己通过代码设置ComboBox,创建出符合自己需要的下拉框。 ```javascript module laya { import Stage = Laya.Stage; import ComboBox = Laya....
来源: Laya2.0_文档 发布时间: 20210715
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115
...getPlane(index: number): Plane Defined in laya/d3/math/BoundFrustum.ts:248 获取锥截体的任意一平面。 0:近平面 1:远平面 2:左平面 3:右平面 4:顶平面 5:底平面 Parameters index: number 索引。 Returns Plane intersects intersects(box: BoundBox | Bounds): boolean Defined in l...
来源: Laya3.0_api 发布时间: 20231115
...也可以通过代码来设置,上述示例演示了如何通过计时器获取每一秒更新clip.clipX切片,通过每秒更新数字实现计时器的功能,有兴趣的读者可以自己通过代码设置Clip,创建出符合自己项目中需要的Clip。 **示例代码:** ```typescrip...
来源: Laya2.0_文档 发布时间: 20210715
...formMap) ``` - 2.添加标记。 ```typescript setFlag(key, value) ``` - 3.获取标记 ```typescript getFlag(key) ``` - 4.添加着色器Pass: vs:该Pass使用的顶点着色器文件 ps:该Pass使用的片元着色器文件 stateMap:是一个映射,key为渲染状态的名称,value为其...
来源: Laya2.0_文档 发布时间: 20210714
...提供一个静态方法 export default class SkeletonUtils { /** * 获取骨骼在局部空间的坐标点 * @param skeleton * @param BoneName */ static getBoneLocalPoint(skeleton:Laya.Skeleton,BoneName:string,result:Laya.Point=null):Laya.Point{ if(result==null){ result=new Laya.Point()...
来源: Laya_社区 发布时间: 20190805
...因的吗?~~~~~~~~~~~~~ Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 unity中的模型导出后在laya中显示不正常 Texture图片能否进行翻转? 开启CastShadow以后,模型会莫名其妙消失,物体渲染队列的_IndexInList会被破坏 一个3D正方体模...
来源: Laya_社区 发布时间: 20190111
...效(版本2.6) 骨骼动画播放完后的回调时间 Animator 如何获取当前所有动画名称呢?或者所有的AnimationClip呢? 用了第三方socket类 项目在IDE上可以连接正常运行,为什么打包APK之后在手机上就连接不上socket 使用了u3D导出来的粒子...
来源: Laya_社区 发布时间: 20200917
... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...
来源: Laya3.0_api 发布时间: 20231115