大约有 26,264 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0275 秒)
Laya_社区(24784) Laya2.0_文档(735) Laya3.0_文档(233) Laya3.0_api(188) Laya2.0_api(120) laya_api(99) Laya_示例(58) Laya2.0_示例(47)
...ientColor Defined in laya/d3/core/particleShuriKen/module/GradientColor.ts:113 创建一个 GradientColor,不允许new,请使用静态创建函数。 实例。 Returns GradientColor Accessors constant get constant(): Vector4 Defined in laya/d3/core/particleShuriKen/module/GradientColor.ts:76 固...
来源: Laya3.0_api 发布时间: 20231115
... Inherited from ColliderBase.label Defined in laya/physics/ColliderBase.ts:18 标签 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 rigidBody rigidBody: RigidBody Inherited from ColliderBase.rigidBody Defined in laya/physics/Coll...
来源: Laya3.0_api 发布时间: 20231115
...WebGL, 遮罩会显示正确 let isWebGL = true if (isWebGL) { Laya.init(1024, 1024, Laya.WebGL); } else{ Laya.init(1024, 1024); } //等待可调试 Laya.timer.once(1000, null, ()=>{ let mask = new Laya.Sprite() let sprite = new Laya.Sprite() sprite.mask = mask Laya.stage.addChild(sprite) //正...
来源: Laya_社区 发布时间: 20180224
.../创建一个 Image 类的实例对象 bg ,并传入它的皮肤。 bg.x = 100;//设置 bg 对象的属性 x 的值,用于控制 bg 对象的显示位置。 bg.y = 100;//设置 bg 对象的属性 y 的值,用于控制 bg 对象的显示位置。 bg.sizeGrid = "40,10,5,10";//设置 bg 对象的...
来源: Laya3.0_api 发布时间: 20231115
...d Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component array : Array 列表数据源,只包含当...
来源: laya_api 发布时间: 20170929
...-extension-resource.__proto.send @ firstGame.max.js:9742 firstGame.max.js:9137 [warn]Retry to load: F:/Laya/Project/firstGame/bin/h5/res/atlas/comp.json firstGame.max.js:9742 XMLHttpRequest cannot load file:///F:/Laya/Project/firstGame/bin/h5/res/atlas/comp.json. Cross origin requests are only suppo...
来源: Laya_社区 发布时间: 20170108
...t("/"); var tempFileName = temp[temp.length - 1]; var fileurlkey = readyUrl; var fileObj = MiniFileMgr.getFileInfo(readyUrl); var saveFilePath = MiniFileMgr.getFileNativePath(tempFileName); ...
来源: Laya_社区 发布时间: 20200529
....wordWrap = true;//设置 textInput 的文本自动换行。 textInput.x = 100;//设置 textInput 对象的属性 x 的值,用于控制 textInput 对象的显示位置。 textInput.y = 100;//设置 textInput 对象的属性 y 的值,用于控制 textInput 对象的显示位置。 textInput.width...
来源: Laya3.0_api 发布时间: 20231115
... 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。View anchorY : NumberY锚点,值为0-1...
来源: Laya2.0_api 发布时间: 20190513
...sCustomCollisionCallback Defined in laya/d3/physics/shape/ColliderShape.ts:115 Static SHAPEORIENTATION_UPX SHAPEORIENTATION_UPX: number = 0 Inherited from CompoundColliderShape.SHAPEORIENTATION_UPX Defined in laya/d3/physics/shape/ColliderShape.ts:14 形状方向_X轴正向 Static SHAPEORIENTATION_U...
来源: Laya3.0_api 发布时间: 20231115