大约有 427 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0053 秒)
...leSkinnedMeshSprite3D.ts:61 创建一个 MeshSprite3D 实例。 Parameters Default value mesh: Mesh = null 网格,同时会加载网格所用默认材质。 Default value name: string = null 名字。 Returns SimpleSkinnedMeshSprite3D Properties Optional _extra _extra: INodeExtra Inherited from Node...
来源: Laya3.0_api 发布时间: 20231115
...port { ui } from "./ui/layaMaxUI"; //继承BitmapFont的ui场景类 export default class AllText extends ui.examples.text.BitmapFontUI { //给自己注册的字体起个名 private fontName: string = "diyFont"; constructor() {super();} onAwake(): void { //加载位位图字体 this.loadBitmapFont();...
来源: Laya2.0_文档 发布时间: 20210715
...D.constructor Defined in laya/d3/core/trail/TrailSprite3D.ts:36 Parameters Default value name: string = null Returns TrailSprite3D Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _scene _scene: Node Inherited from Node._scene Defined in lay...
来源: Laya3.0_api 发布时间: 20231115
... url uuid DEBUG Accessors anisoLevel baseMipmapLevel compareMode cpuMemory defaultTexture destroyed dimension filterMode format gammaCorrection gammaSpace gpuMemory height id maxMipmapLevel mipmap mipmapCount obsolute referenceCount width wrapModeU wrapModeV wrapModeW blackTexture cpuMemory errorTex...
来源: Laya3.0_api 发布时间: 20231115
...(count?: number): void Defined in laya/resource/Resource.ts:203 Parameters Default value count: number = 1 Returns void _clearReference _clearReference(): void Defined in laya/resource/Resource.ts:218 清除引用 Returns void _removeReference _removeReference(count?: number): void Defined in laya/r...
来源: Laya3.0_api 发布时间: 20231115
...qual fromArray length lengthSquared normalize scale set setValue toArray toDefault vadd vsub writeTo Clamp TransformNormal add cross distance distanceSquared dot equals lerp max min multiply normalize scalarLength scalarLengthSquared scale subtract transformCoordinate transformQuat transformV3ToV3 t...
来源: Laya3.0_api 发布时间: 20231115
...lse 自己控制物理更新时机,自己调用Physics.update Parameters Default value options: any = null Returns void stop stop(): void Defined in laya/physics/Physics.ts:188 停止物理世界 Returns void updatePhysicsByWorldRoot updatePhysicsByWorldRoot(): void Defined in laya/physics/Physics...
来源: Laya3.0_api 发布时间: 20231115
..."spine4.1/role.json"; // 设置Spine动画数据源 this.spine.skinName = "default"; // 设置皮肤名称 this.spine.play("att", true); // 播放名称为"att"的攻击动画,true表示循环播放 this.btn.on(Laya.Event.CLICK, this, this.changeAttachment); //监听点击事件,触发切换武...
来源: Laya3.0_文档 发布时间: 20251128
...场景加载问题 测试内容:加载3D场景 代码如下: export default class TestUI extends ui.test.TestSceneUI { private resource: Array<String> = [ "gate/Conventional/Test.ls", ]; constructor() { super(); } onAwake(): void { Laya.lo...
来源: Laya_社区 发布时间: 20190925
...ZONE 微信 Barry Allen 赞同来自: import Sprite = Laya.Sprite export default class Test extends Sprite{ public DEF_SIZE: number = 200 public CIRCLE_WIDTH: number = 20 public $circleSprite: Sprite = new Sprite() public startY: number = -90 constructor() { super() this._init() } private _init() ...
来源: Laya_社区 发布时间: 20180123