大约有 402 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0174 秒)
...组件。 Type parameters T: Component Parameters componentType: {} 组件类型。 Returns T 组件。 addComponentInstance addComponentInstance(component: Component): Component Inherited from Node.addComponentInstance Defined in laya/display/Node.ts:935 添加组件实例。 Parameters component: ...
来源: Laya3.0_api 发布时间: 20231115
...换需知(必读)二、刚体 RigidBody2.1 添加刚体组件2.2 刚体类型 type2.3 重力2.4 角速度 angularVelocity2.5 角阻尼 angularDampin2.6 线性速度 linearVelocity2.7 线性阻尼 linearDamping2.8 子弹 bullet2.9 刚体休眠2.10 允许旋转 allowRotation2.11 碰撞相关的属...
来源: Laya3.0_文档 发布时间: 20251010
...FRAGMENT SHADER,这些部分或阶段中的每一个都代表一种特定类型的可编程处理。每个阶段都有一组输入和输出,这些输入和输出从上一阶段传递到后续阶段(无论是否可编程)。 **LayaAir自定义Shader支持的两种类型:** **顶点着...
来源: Laya2.0_文档 发布时间: 20210715
...ner(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher hitTestPoint(x:Number, y:Number):Boolean 检测某个点是否在此对象内。 Sprite isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 Ev...
来源: Laya2.0_api 发布时间: 20190513
...ner(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher hitTestPoint(x:Number, y:Number):Boolean 检测某个点是否在此对象内。 Sprite isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 Ev...
来源: Laya2.0_api 发布时间: 20190513
...组件。 Type parameters T: Component Parameters componentType: {} 组件类型。 Returns T 组件。 addComponentInstance addComponentInstance(component: Component): Component Inherited from Node.addComponentInstance Defined in laya/display/Node.ts:935 添加组件实例。 Parameters component: ...
来源: Laya3.0_api 发布时间: 20231115
...ner(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher hitTestPoint(x:Number, y:Number):Boolean 检测某个点是否在此对象内。 Sprite initOctree(width:int, height:int, depth:int, center:Vector3, level:int = 6):void 初...
来源: laya_api 发布时间: 20170422
...组件。 Type parameters T: Component Parameters componentType: {} 组件类型。 Returns T 组件。 addComponentInstance addComponentInstance(component: Component): Component Inherited from Node.addComponentInstance Defined in laya/display/Node.ts:935 添加组件实例。 Parameters component: ...
来源: Laya3.0_api 发布时间: 20231115
...组件。 Type parameters T: Component Parameters componentType: {} 组件类型。 Returns T 组件。 addComponentInstance addComponentInstance(component: Component): Component Inherited from Node.addComponentInstance Defined in laya/display/Node.ts:935 添加组件实例。 Parameters component: ...
来源: Laya3.0_api 发布时间: 20231115
...dier = prefab.create() as Laya.Box; // 为了代码提示,转成实际的类型 soldier["show"].play(); 在TS下面soldier如果不是any的话,直接使用soldier.show会编译报错。 可以强制转换一下 (<any>soldier).show.play(); 值得注意的地方:动画名称最好不...
来源: Laya_社区 发布时间: 20190215