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

大约有 26,264 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0275 秒)

26141. laya.d3.core.particleshuriken.module.GradientColor_API3.0 [ 45%]

...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

26142. laya.physics.PolygonCollider_API3.0 [ 45%]

... 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

26143. 关于WebGL矢量图的遮罩问题 [ 45%]

...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

26144. laya.ui.Image_API3.0 [ 45%]

.../创建一个 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

26145. laya.ui.Tree [ 45%]

...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

26146. XMLHttpRequest cannot load [ 44%]

...-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

26147. 关于laya无法缓存非图片、声音文件bug [ 44%]

...t("/");             var tempFileName = temp[temp.length - 1];             var fileurlkey = readyUrl;             var fileObj = MiniFileMgr.getFileInfo(readyUrl);             var saveFilePath = MiniFileMgr.getFileNativePath(tempFileName); ...

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

26148. laya.ui.TextInput_API3.0 [ 44%]

....wordWrap = true;//设置 textInput 的文本自动换行。 textInput.x = 100;//设置 textInput 对象的属性 x 的值,用于控制 textInput 对象的显示位置。 textInput.y = 100;//设置 textInput 对象的属性 y 的值,用于控制 textInput 对象的显示位置。 textInput.width...

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

26149. laya.ui.Dialog [ 44%]

... 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。View anchorY : NumberY锚点,值为0-1...

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

26150. laya.d3.physics.shape.StaticPlaneColliderShape_API3.0 [ 44%]

...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