大约有 2,945 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0073 秒)
Laya_社区(1043) Laya3.0_api(668) Laya2.0_api(366) laya_api(298) Laya2.0_文档(230) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(76)
...目。代码如下: ```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
... 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
...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
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
...碰到过这样的问题? 一个common.ts里面定义了export default class SDispatcher implements ISDispatcher{},然后在其他类里面继承。并导包。export default class xxxx extends SDispatcher{},在vs里面没有发现报错。进行指令编译后,运行bundle.js。却...
来源: Laya_社区 发布时间: 20200817
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
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
...建好了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
...,用于常规的资源 */}); 完整的脚本示例如下: 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
...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