大约有 728 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0074 秒)
Laya_社区(370) Laya3.0_api(187) Laya2.0_api(91) laya_api(44) Laya2.0_文档(18) Laya3.0_文档(17) Laya2.0_示例(1)
...正常? 这是自定义的shader var attributeMap = { 'a_Position': Laya.VertexElementUsage.POSITION0, 'a_Normal': Laya.VertexElementUsage.NORMAL0, 'a_Texcoord': Laya.VertexElementUsage.TEXTURECOORDINATE0 }; var uniformMap = { 'u_MvpMatrix': [Laya.Sprite3D.MVPMATRIX, Laya.Shader3D.PERIOD_SPRITE...
来源: Laya_社区 发布时间: 20170815
关于确认框机制:Laya是如何实现js的if(window.confirm('你确定要取消交易吗?'))机制 功能流程: 1、用户点击ListUI中绑定的某一项的“删除”按钮,获取要删除项对应的item_id。 2、此时调起确认框询问用户是否确认删除。 3、用户...
来源: Laya_社区 发布时间: 20180319
... timeout: Geolocation.timeout, maximumAge: Geolocation.maximumAge }); } 在LayaAir IDE中,给Scene2D添加一个自定义的组件脚本,添加如下代码,实现鼠标点击后,获取地理位置。 const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script ...
来源: Laya3.0_文档 发布时间: 20251010
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/joint/MotorJoint" MotorJoint Class MotorJoint 马达关节:用来限制两个刚体,使其相对位置和角度保持...
来源: Laya3.0_api 发布时间: 20231115
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/joint/DistanceJoint" DistanceJoint Class DistanceJoint 距离关节:两个物体上面各自有一点,两点之间的...
来源: Laya3.0_api 发布时间: 20231115
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/RenderTexture2D" RenderTexture2D Class RenderTexture2D RenderTexture 类用于创建渲染目标。 Hierarchy BaseTexture ...
来源: Laya3.0_api 发布时间: 20231115
...聊天室这种无法固定好文本内容的场景就不能适用了。 LayaAir引擎支持位图字体的使用。本篇将引导开发者如何通过第三方工具 Bitmap Font Generator来制作位图字体并在LayaAir引擎中使用。 [TOC] ### 一、下载并安装字体制作工具 下载...
来源: Laya2.0_文档 发布时间: 20210715
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/NativeRenderTexture2D" NativeRenderTexture2D Class NativeRenderTexture2D RenderTexture 类用于创建渲染目标。 Hier...
来源: Laya3.0_api 发布时间: 20231115
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/physics/joint/RevoluteJoint" RevoluteJoint Class RevoluteJoint 旋转关节强制两个物体共享一个锚点,两个物体相...
来源: Laya3.0_api 发布时间: 20231115
...ublic Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/render/ScreenTriangle" ScreenTriangle Class ScreenTriangle ScreenTriangle 类用于创建全屏三角形。 Hierarchy Resource ScreenTriangle Index Constructors constructor Properties destoryedImmediately lock na...
来源: Laya3.0_api 发布时间: 20231102