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

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

971. laya.d3.physics.shape.ConeColliderShape_API3.0 [ 70%]

...d Menu Globals "laya/d3/physics/shape/ConeColliderShape" ConeColliderShape Class ConeColliderShape ConeColliderShape 类用于创建圆锥碰撞器。 Hierarchy ColliderShape ConeColliderShape Implements IClone Index Constructors constructor Properties needsCustomCollisionCallback SHAPEORIENTATION_U...

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

972. laya.d3.shader.SubShader_API3.0 [ 70%]

... Externals Only exported Menu Globals "laya/d3/shader/SubShader" SubShader Class SubShader SubShader 类用于创建SubShader。 Hierarchy SubShader Index Constructors constructor Properties IncludeUniformMap Methods _addShaderPass addShaderPass getFlag setFlag __init__ regIncludeBindUnifrom Object ...

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

973. laya.d3.math.Vector2_API3.0 [ 70%]

...erited Externals Only exported Menu Globals "laya/d3/math/Vector2" Vector2 Class Vector2 Vector2 类用于创建二维向量。 Hierarchy Vector2 Implements IClone Index Constructors constructor Properties x y ONE ZERO Methods clone cloneTo forNativeElement fromArray setValue toArray writeTo dot nor...

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

974. as3 自定义组件问题 [ 70%]

...aEditor\renders\custom\ScaleButton.js; 那么ScaleButton.xml->内容: className="component.ScaleButton"。是对的吗 mboat • 2017-09-25 22:14 还有ScaleButton.js,内容:(function(window,document,Laya){ var __un=Laya.un,__uns=Laya.uns,__static=Laya.static,__class=Laya.class,__...

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

975. laya.d3.physicscannon.CannonPhysicsSimulation_API3.0 [ 70%]

...ls "laya/d3/physicsCannon/CannonPhysicsSimulation" CannonPhysicsSimulation Class CannonPhysicsSimulation Simulation 类用于创建物理模拟器。 Hierarchy CannonPhysicsSimulation Index Properties fixedTimeStep maxSubSteps disableSimulation Accessors gravity solverIterations Methods clearForces ...

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

976. 列表组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 70%]

...数据源 必须要在代码中给List组件设置数据源。 const { regClass, property } = Laya; @regClass() export class Script extends Laya.Script { @property({ type: Laya.List }) list: Laya.List constructor() { super(); } // 组件被启用后执行,例如节点被添加到舞台后 onEnable...

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

977. 微信飞机大战中“开始页面”逻辑功能关于js继承问题 [ 70%]

...直接用this改按钮的状态; 问题: 我用JS的时候找了下用class可以实现extends的效果,但不知道怎么写,就是改变不了按钮的状态,请问这块用JS要怎么写呢,我只能写到以下这一步,然后就没方向了(function(){ // Laya.class(ui.GameStartUI...

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

978. laya.maths.Vector2_API3.0 [ 70%]

...nherited Externals Only exported Menu Globals "laya/maths/Vector2" Vector2 Class Vector2 Vector2 类用于创建二维向量。 Hierarchy Vector2 Implements IClone Index Constructors constructor Properties x y ONE ZERO Methods clone cloneTo forNativeElement fromArray setValue toArray writeTo dot equ...

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

979. 弹窗视图组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 70%]

... 保存场景后,在RuntimeScript.ts中添加如下代码: const { regClass } = Laya; import { RuntimeScriptBase } from "./RuntimeScript.generated"; @regClass() export class RuntimeScript extends RuntimeScriptBase { onAwake(): void { this.closeBtn.on(Laya.Event.CLICK, this, () => { this.close...

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

980. laya.d3.core.particleShuriKen.module.shape.ConeShape [ 70%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ConeShapeProperties | Methods Packagelaya.d3.core.particleShuriKen.module.shapeClasspublic class ConeShapeInheritanceConeShape BaseShape Object ConeShape 类用于创建锥形粒子形状。 Public Properties Hide Inheri...

来源: laya_api 发布时间: 20170929