大约有 332 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0061 秒)
...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
...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
...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
...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
...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
...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
...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 mouseThrough mouseThrough: boolean = false Inherited from Text.mouseThrough ...
来源: Laya3.0_api 发布时间: 20231115
...2017-11-15 09:18 .proto导出js文件的时候,传参数-w es6, 或者-w default zengjoeng • 2017-11-15 09:19 然而谁能帮解答下,为什么一运行到import就没反应了?
来源: Laya_社区 发布时间: 20170922
...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
...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 mouseThrough mouseThrough: boolean = false Inherited from Text.mouseThrough ...
来源: Laya3.0_api 发布时间: 20231115