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

大约有 2,945 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0073 秒)

1001. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 70%]

...目。代码如下: ```java package { import laya.display.Sprite; public class LayaUISample { public function LayaUISample() { //初始化引擎 Laya.init(600, 400); Laya.stage.bgColor ="#cccccc"; var data:String= "data:image/svg+xml,"+'' + '' + '' + 'I like ' + '' + 'cheese' + '' + '' + ''; var s...

来源: Laya2.0_文档 发布时间: 20210715

1002. laya.d3.math.Color_API3.0 [ 70%]

... Inherited Externals Only exported Menu Globals "laya/d3/math/Color" Color Class Color Color 类用于创建颜色实例。 Hierarchy Color Implements IClone Index Constructors constructor Properties a b g r BLACK BLUE CLEAR CYAN GRAY GREEN MAGENTA RED WHITE YELLOW Methods clone cloneTo equal fromAr...

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

1003. laya.d3.component.animator.AnimatorControllerLayer_API3.0 [ 70%]

...aya/d3/component/Animator/AnimatorControllerLayer" AnimatorControllerLayer Class AnimatorControllerLayer AnimatorControllerLayer 类用于创建动画控制器层。 Hierarchy AnimatorControllerLayer Implements IClone Index Constructors constructor Properties blendingMode defaultWeight enable name p...

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

1004. laya.utils.HTMLChar [ 70%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames HTMLCharProperties | Methods Packagelaya.utilsClasspublic class HTMLCharInheritanceHTMLChar ObjectImplements laya.display.ILayout HTMLChar 是一个 HTML 字符类。 Public Properties PropertyDefined By  char : Strin...

来源: laya_api 发布时间: 20170422

1005. 已经在vs上引用相关的类,编译后bundle.js却没有相关的代码 [ 69%]

...碰到过这样的问题? 一个common.ts里面定义了export default class SDispatcher implements ISDispatcher{},然后在其他类里面继承。并导包。export default class xxxx extends SDispatcher{},在vs里面没有发现报错。进行指令编译后,运行bundle.js。却...

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

1006. laya.d3.core.particleShuriKen.module.shape.ShapeUtils [ 69%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ShapeUtilsMethods Packagelaya.d3.core.particleShuriKen.module.shapeClasspublic class ShapeUtilsInheritanceShapeUtils Object ... Public Methods  MethodDefined By  ShapeUtils()ShapeUtils  _randomPointInsideHalfUnitBox(...

来源: laya_api 发布时间: 20170929

1007. laya.d3.core.particleShuriKen.module.shape.ShapeUtils [ 69%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ShapeUtilsMethods Packagelaya.d3.core.particleShuriKen.module.shapeClasspublic class ShapeUtilsInheritanceShapeUtils Object ... Public Methods  MethodDefined By  ShapeUtils()ShapeUtils  _randomPointInsideHalfUnitBox(...

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

1008. UI运行时 · LayaAir3.0文档 · LAYABOX [ 69%]

...建好了UI组件脚本,而后添加的代码如下所示: const { regClass } = Laya; import { RuntimeScriptBase } from "./RuntimeScript.generated"; @regClass() export class RuntimeScript extends RuntimeScriptBase { onAwake(): void { // Button添加鼠标事件,让Image不显示 this.Button.on...

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

1009. 资源加载 · LayaAir3.0文档 · LAYABOX [ 69%]

...,用于常规的资源 */}); 完整的脚本示例如下: const { regClass, property } = Laya; @regClass() export class LoaderDemo extends Laya.Script { onAwake(): void { this.loadTexture("resources/image/monkey2.png", 500);//需要在resources/image放入相应的资源 this.loadTexture("https:...

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

1010. laya.d3.graphics.vertex.VertexMesh_API3.0 [ 69%]

...Only exported Menu Globals "laya/d3/graphics/Vertex/VertexMesh" VertexMesh Class VertexMesh ... author ... Hierarchy VertexMesh Index Properties MESH_BLENDINDICES0 MESH_BLENDWEIGHT0 MESH_COLOR0 MESH_CUSTOME0 MESH_CUSTOME1 MESH_CUSTOME2 MESH_CUSTOME3 MESH_NORMAL0 MESH_POSITION0 MESH_SIMPLEANIMATOR ME...

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