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

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

171. drawToCanvas转出图片与游戏内显示颜色差距过大 [ 63%]

...Canvas转出图片与游戏内显示颜色差距过大 测试代码 export default class TestView {     constructor() {         this.init();     }     init() {         Laya.stage.bgColor='#ffffff';         Laya.stage.addChild(new Laya.Image('comp/img/img1.png'));         Laya.t...

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

172. 2.0 Beta3版本中,runtime脚本的的问题 [ 63%]

...geRunTime from "./game/ImageRunTime" /* * 游戏初始化配置; */ export default class GameConfig{ static width:number=640; static height:number=1136; static scaleMode:string="fixedwidth"; static screenMode:string="none"; static alignV:string="top"; static alignH:string="left"; static startScene:a...

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

173. laya.ui.VBox_API3.0 [ 63%]

...aya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns VBox Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from T...

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

174. laya.ui.HBox_API3.0 [ 63%]

...aya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns HBox Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from T...

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

175. laya.d3.resource.models.SkyDome_API3.0 [ 63%]

...d3/resource/models/SkyDome.ts:45 创建一个 SkyDome 实例。 Parameters Default value stacks: number = 48 堆数。 Default value slices: number = 48 层数。 Returns SkyDome Properties _geometryElementOBj _geometryElementOBj: IRenderGeometryElement Inherited from GeometryElement._geometryElemen...

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

176. laya.components.Animator2D_API3.0 [ 63%]

...peed Methods _initialize _setOwner addControllerLayer crossFade destroy getDefaultState getParamsvalue gotoAndStop gotoAndStopByFrame hasHideFlag onAdded onAwake onDisable onLateUpdate onPostRender onPreRender onReset onStart onUpdate play setParamsBool setParamsNumber setParamsTrigger stop Construc...

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

177. laya.ui.OpenDataContextView_API3.0 [ 63%]

...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 mouseThrough mouseThrough: boolean = false Inherited from Text.mouseThrough ...

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

178. 用ts写代码 能用npm包吗 还有es6语法 [ 63%]

...2017-11-15 09:18 .proto导出js文件的时候,传参数-w es6, 或者-w default zengjoeng • 2017-11-15 09:19 然而谁能帮解答下,为什么一运行到import就没反应了?

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

179. laya.ui.TipManager_API3.0 [ 63%]

...de bottom cacheAs centerX centerY components customRenderEnable dataSource defaultTipHandler destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask mouseEnabled mouseX mous...

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

180. laya.ui.ViewStack_API3.0 [ 63%]

...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 mouseThrough mouseThrough: boolean = false Inherited from Text.mouseThrough ...

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