大约有 859 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0056 秒)
...格, 这样会导致竖横都启用 滚动条,不是所有人都需要默认补偿。 请严格按照 layabox 开发手册进行学习操作。 另外,空格 是非官方操作,属于自定义习惯,不能按照习惯进行皮肤操作操作。 在layaair 的 list中,提供了隐藏 滚...
来源: Laya_社区 发布时间: 20211018
...rameters Default value mesh: Mesh = null 网格,同时会加载网格所用默认材质。 Default value name: string = null 名字。 Returns SimpleSkinnedMeshSprite3D Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _scene _scene: Node Inh...
来源: Laya3.0_api 发布时间: 20231115
...e对象。 另外 /** * <p>显示对象的宽度,单位为像素,默认为0。</p> * <p>此宽度用于鼠标碰撞检测,并不影响显示对象图像大小。需要对显示对象的图像进行缩放,请使用scale、scaleX、scaleY。</p> * <p>可以通过g...
来源: Laya_社区 发布时间: 20180827
...overBefore: boolean = true (可选)是否覆盖之前的延迟执行,默认为true。 Returns void frameOnce frameOnce(delay: number, caller: any, method: Function, args?: any[], coverBefore?: boolean): void Inherited from Node.frameOnce Defined in laya/display/Node.ts:600 定时执行一次...
来源: Laya3.0_api 发布时间: 20231115
... Boolean = false[首次设置有效]两个刚体是否可以发生碰撞,默认为falsePrismaticJoint destroyed : Boolean[read-only] 获取是否已经销毁 。 Component enabled : Boolean 获取是否启用组件。 Component enableLimit : Boolean是否对刚体的移动范围加以约束Pr...
来源: Laya2.0_api 发布时间: 20190513
...blic Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = false 指定是否自动计算...
来源: laya_api 发布时间: 20170929
...ertyDefined By animationInterval : int = 50[static] 动画 Animation 的默认播放时间间隔,单位为毫秒。 Config is2DPixelArtGame : Boolean = false[static] 是否强制使用像素采样。适用于像素风格游戏 Config isAlpha : Boolean = false[static] 设置画布是否透...
来源: Laya2.0_api 发布时间: 20190513
...h,Laya.Browser.height; 像素比:Laya.Browser.pixelRatio; 默认从浏览器获得的clientWidth不是像素分辨率,而是经过缩放过的分辨率,想要获得正确的分辨率,需要在html页面内设置viewport meta标签,设置content的值为"`width=device-width,i...
来源: Laya2.0_文档 发布时间: 20200307
...与舞台的背景色混合时舞台清除颜色的不同导致的,使用默认的stage.bgColor或者设置stage.bgColor = "black"时,framebuffer的clearColor为(0,0,0,1);设置stage.bgColor = null时,framebuffer的clearColor为(0,0,0,0)。您可以使用默认的stage.bgColor或者设置sta...
来源: Laya_社区 发布时间: 20220530
...overBefore: boolean = true (可选)是否覆盖之前的延迟执行,默认为true。 Returns void frameOnce frameOnce(delay: number, caller: any, method: Function, args?: any[], coverBefore?: boolean): void Inherited from Node.frameOnce Defined in laya/display/Node.ts:600 定时执行一次...
来源: Laya3.0_api 发布时间: 20231115