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

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

81. 和原生Dom交互 · LayaAir3.4 · 引擎文档 · LAYABOX [ 45%]

...+ '</div>' + '</foreignObject>' + '</svg>'; var sp: Laya.Sprite = new Laya.Sprite(); sp.loadImage(data, 0, 0, 200, 200); Laya.stage.addChild(sp); 通过data来当做url传递给loadImage这个方法引擎就会帮我们加载并解码显示出来。loadImage这个方法中的参数...

来源: Laya3.0_文档 发布时间: 20251010

82. laya.d3.webxr.core.WebXRCamera_API3.0 [ 45%]

... Static WORLDINVERTFRONT WORLDINVERTFRONT: number Inherited from RenderableSprite3D.WORLDINVERTFRONT Defined in laya/d3/core/Sprite3D.ts:31 Static _contextScissorPortCatch _contextScissorPortCatch: Vector4 = new Vector4(0, 0, 0, 0) Inherited from Camera._contextScissorPortCatch Defined in laya/d3/co...

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

83. laya.html.dom.HTMLDivElement_API3.0 [ 43%]

...vElement=new HTMLDivElement(); div.innerHTML = "adivspanspan2p"; Hierarchy Sprite HTMLDivElement HTMLIframeElement Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name drawtocanvCtx Accessors active activeInHierarchy alpha ble...

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

84. laya.ui.Image_API3.0 [ 42%]

...fined in laya/display/Node.ts:56 _graphics _graphics: AutoBitmap Overrides Sprite._graphics Defined in laya/ui/Image.ts:98 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/...

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

85. 2D性能优化 · LayaAir3.4 · 引擎文档 · LAYABOX [ 42%]

...1.3 资源卸载1.4 关于滤镜、遮罩二、渲染优化方式2.1 优化Sprite2.2 优化DrawCall2.3 优化Canvas2.4 CacheAs2.5 文字描边2.6 跳过文本排版,直接渲染三、减少CPU使用量3.1 减少动态属性查找3.2 性能消耗的回收3.3 获取显示对象边界的做法3.4 根...

来源: Laya3.0_文档 发布时间: 20251010

86. laya.ui.TextArea [ 39%]

...iClasspublic class TextAreaInheritanceTextArea TextInput Label UIComponent Sprite Node EventDispatcher Object TextArea 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获...

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

87. laya.ui.TextArea [ 39%]

....uiClasspublic class TextAreaInheritanceTextArea TextInput Label Component Sprite Node EventDispatcher Object TextArea 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By align : String 表示...

来源: laya_api 发布时间: 20170929

88. laya.d3.core.scene.Scene3D [ 39%]

...ants Packagelaya.d3.core.sceneClasspublic class Scene3DInheritanceScene3D Sprite Node EventDispatcher ObjectImplements ISubmit, laya.resource.ICreateResource Scene3D 类用于实现场景。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By act...

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

89. laya.d3.core.scene.Scene [ 39%]

...onstants Packagelaya.d3.core.sceneClasspublic class SceneInheritanceScene Sprite Node EventDispatcher ObjectImplements ISubmit, laya.resource.ICreateResource BaseScene 类用于实现场景。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By a...

来源: laya_api 发布时间: 20170929

90. laya.ui.Tree_API3.0 [ 39%]

...: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...

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