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

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

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

...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. laya.ui.VBox_API3.0 [ 64%]

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

173. 2.0 Beta3版本中,runtime脚本的的问题 [ 64%]

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

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

...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 [ 64%]

...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 [ 64%]

...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 [ 64%]

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

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

178. laya.ui.TipManager_API3.0 [ 64%]

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

179. laya.ui.ViewStack_API3.0 [ 64%]

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

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

180. laya.d3.core.render.RenderElement_API3.0 [ 63%]

...:177 切换Shader Parameters customShader: Shader3D replacementTag: string Default value subshaderIndex: number = 0 Returns void _renderUpdatePre _renderUpdatePre(context: RenderContext3D): void Defined in laya/d3/core/render/RenderElement.ts:225 pre update data Parameters context: RenderContext3D R...

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