大约有 1,460 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0062 秒)
Laya3.0_api(398) Laya_社区(300) Laya2.0_api(251) laya_api(215) Laya2.0_文档(167) Laya3.0_文档(90) Laya2.0_示例(22) Laya_示例(17)
...rController PhysicsComponent Component Object CharacterController 类用于创建角色控制器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By canCollideWith : int 获取可碰撞的碰撞组。 PhysicsComponent canScaleShape : Boolean =...
来源: Laya2.0_api 发布时间: 20190513
...Core&class=laya.d3.physics.CharacterController))。 #### (1) 使用代码创建角色碰撞器 **插件目前暂不支持角色碰撞器导出,使用时需要使用代码创建。** 下面这段代码来自官方示例([demo地址](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d...
来源: Laya2.0_文档 发布时间: 20210715
...机性 this.maxRight = 852 - 32 * 2 - 32 * parseInt(10 * Math.random()); //创建一个帧循环处理函数 // Laya.timer.frameLoop(1, this, this.onLoop); } //在地板上面添加物品 _proto.addItem = function(){ } //获取当前地板上面的所有物品 _proto.getItems = function(){ return ; ...
来源: Laya_社区 发布时间: 20160801
...变量不能用数字开头,所以代码中叫做UI3D)的原理是,创建的UI控件都在一个三维立体空间中,这和2D UI有着截然不同的区别,因为2D UI没有深度信息。因此,如果要出现UI有三维变换的效果,就必须用3D UI。 3D UI也是UI,也承担UI...
来源: Laya3.0_文档 发布时间: 20250214
...nonPhysicsComponent Class CannonPhysicsComponent PhysicsComponent 类用于创建物理组件的父类。 Hierarchy Component CannonPhysicsComponent CannonPhysicsTriggerComponent Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath Accessors awaked c...
来源: Laya3.0_api 发布时间: 20231102
...件然后Apply,最后导出动画模型。 在LayaAir3D中我们就可以创建一个脚本来接收这个事件。 首先我们创建一个Script3D脚本,脚本名不影响事件的触发这里是随便取的名。 ```typescript export default class SceneScript extends Laya.Script3D { //用于...
来源: Laya2.0_文档 发布时间: 20210715
... "laya/d3/core/MeshFilter" MeshFilter Class MeshFilter MeshFilter 类用于创建网格过滤器。 Hierarchy Component MeshFilter Index Constructors constructor Properties _extra _singleton owner runInEditor scriptPath Accessors awaked destroyed enabled hideFlags id sharedMesh Methods _initialize _...
来源: Laya3.0_api 发布时间: 20231115
...texPositionTerrain ObjectImplements IVertex VertexPositionTerrain 类用于创建位置、法线、纹理1、纹理2顶点结构。 Public Properties PropertyDefined By normal : Vector3[read-only] VertexPositionTerrain position : Vector3[read-only] VertexPositionTerrain textureCoord0 : Vec...
来源: Laya2.0_api 发布时间: 20190513
...er/PostEffect/ScalableAO" ScalableAO Class ScalableAO BloomEffect 类用于创建环境光遮罩效果。 Hierarchy PostProcessEffect ScalableAO Index Constructors constructor Accessors active aoColor aoQuality intensity radius Methods effectInit getCameraDepthTextureModeFlag release render init Con...
来源: Laya3.0_api 发布时间: 20231115
... BVHSpatial.constructor Defined in laya/d3/core/scene/bvh/BVHSpatial.ts:32 创建BVH系统实例 Parameters Default value bvhConfig: BVHSpatialConfig = null Default value bvhManager: BVHSpatialManager = null Returns BVHRenderSpatial Accessors bvhSpatialBox get bvhSpatialBox(): BVHSpatialBox<IBoun...
来源: Laya3.0_api 发布时间: 20231115