大约有 1,446 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0052 秒)
Laya3.0_api(470) Laya_社区(444) Laya_示例(152) Laya2.0_示例(119) Laya2.0_api(71) Laya2.0_文档(71) Laya3.0_文档(61) laya_api(58)
...tance ==null) { Single.instance = new Single(); } return Single.instance } constructor(){ Single.instance =new Single(); } } class Car extends Single { constructor() { super(); } } var inst = Car.GetInstance<Car>() 2018-06-21 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折...
来源: Laya_社区 发布时间: 20180619
...lass Shader3D Shader3D 类用于创建Shader3D。 Hierarchy Shader3D Index Constructors constructor Properties PERIOD_CAMERA PERIOD_CUSTOM PERIOD_MATERIAL PERIOD_SCENE PERIOD_SPRITE RENDER_STATE_BLEND RENDER_STATE_BLEND_CONST_COLOR RENDER_STATE_BLEND_DST RENDER_STATE_BLEND_DST_ALPHA RENDER_STATE_BLE...
来源: Laya3.0_api 发布时间: 20231102
... 平移距离 private translate: Laya.Vector3 = new Laya.Vector3(1, 1, 1); constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { // 平移cube this.cube.transform.translate(this.translate, false); } }...
来源: Laya3.0_文档 发布时间: 20240910
...archy BatchRender StatiVertexMergeBatchRender Implements IBoundsCell Index Constructors constructor Properties _extra _receiveShadow _singleton owner runInEditor scriptPath sortingFudge Accessors awaked bounds boundsChange castShadow checkLOD destroyed distanceForSort enabled hideFlags id lightmapIn...
来源: Laya3.0_api 发布时间: 20231115
...通过代码PhysicsDebugDraw.enable(); Hierarchy Component RigidBody Index Constructors constructor Properties _extra _singleton category group label mask owner runInEditor scriptPath Accessors allowRotation allowSleep angularDamping angularVelocity awaked body bullet destroyed enabled gravityScale ...
来源: Laya3.0_api 发布时间: 20231115
...es/untitled.png"; private img: Laya.Sprite; private flag: boolean = false; constructor() { Laya.init(1000,800); this.img = new Laya.Sprite; this.img.loadImage(this.plane1); Laya.stage.addChild(this.img); this.img.graphics.clear(); this.img.loadImage(this.plane2); Laya.stage.addChild(this.img) } } ne...
来源: Laya_社区 发布时间: 20180406
... } else { var defaultValue = new property.constructor(); property.cloneTo(defaultValue); keyframeNodeOwner.defaultValue = defaultValue; keyframeNodeOwner.value = new property.co...
来源: Laya_社区 发布时间: 20240517
...隔。 see laya.net.Loader Hierarchy EventDispatcher LoaderManager Index Constructors constructor Properties maxLoader retryDelay retryNum Methods cacheRes cancelLoadByUrl cancelLoadByUrls clearRes clearResByGroup clearTextureRes clearUnLoaded create decodeBitmaps event getRes hasListener load off o...
来源: Laya3.0_api 发布时间: 20231102
...er CommandBuffer 类用于创建命令流。 Hierarchy CommandBuffer Index Constructors constructor Accessors casterShadow context name Methods _apply _applyOne addCustomCMD blitScreenQuad blitScreenQuadByMaterial blitScreenTriangle clearRenderTarget drawMesh drawMeshInstance drawRender getCommandsS...
来源: Laya3.0_api 发布时间: 20231115
...刚体碰撞器。 Hierarchy CannonPhysicsCollider CannonRigidbody3D Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath TYPE_DYNAMIC TYPE_KINEMATIC TYPE_STATIC Accessors angularDamping angularVelocity awaked btColliderObject canCollideWith collider...
来源: Laya3.0_api 发布时间: 20231102