大约有 177 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0103 秒)
...一个类的名字(字符串)来获取该类的方法?类似get class by name 老项目类库升级到 LayaAir 2.1.0beta报错! 按官网上的文档 使用LayaNative运行LayaAir项目https://ldc.layabox.com/doc/?nav=zh-as-7-0-1。出现了问题 LayaAir 2.0 TS版编译出错GameConfig跟创建...
来源: Laya_社区 发布时间: 20170215
...产生的序列。这个比random要均匀一些。 PBRMaterial setShaderName(name:String):void 设置使用Shader名字。 BaseMaterialProtected Methods Show Inherited Protected Methods Show Inherited Protected Methods MethodDefined By _addDisablePublicShaderDefine(value:int):void 增加禁用...
来源: laya_api 发布时间: 20170929
...s://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Physics3D&name=PhysicsWorld_RayShapeCast)); ```typescript this.hitResult = new Laya.HitResult(); this.hitResults= []; //是否穿透 if (this.castAll) { //进行射线检测,检测所有碰撞的物体 this.scene.physicsSimulation....
来源: Laya2.0_文档 发布时间: 20210715
...= 2.0[static] Terrain LOD_TOLERANCE_VALUE : Number = 4[static] Terrain name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node[read-only] 父节点。Node RENDER_LINE_MODEL : Boolean = false[static] Terrain scene : *[read-only] 获得所属场景...
来源: Laya2.0_api 发布时间: 20190513
...al setDiffuseScale4(x:Number, y:Number):voidTerrainMaterial setShaderName(name:String):void[override] 设置使用Shader名字。 TerrainMaterialProtected Methods Show Inherited Protected Methods Show Inherited Protected Methods MethodDefined By _disposeResource():void[override] BaseMaterial...
来源: Laya2.0_api 发布时间: 20190513
...字的子节点,通常会调用如下方法来获取子节点 getChildByName("xxx") /** * 根据子节点的名字,获取子节点对象。 * @param name 子节点的名字。 * @return 节点对象。 */ getChildByName(name: string): Node { for (let child of this._children) { if (child &&am...
来源: Laya3.0_文档 发布时间: 20251010
...图属性。 * @param mesh 网格。 * @param image 高度图。 * @param name 名字。 * @returns 地形渲染节点 */ static createFromMeshAndHeightMap(mesh: Mesh, texture: Texture2D, minHeight: number, maxHeight: number, name: string = null): MeshTerrainSprite3D { var meshTerrainSprite3D: MeshT...
来源: Laya3.0_文档 发布时间: 20230303
...lt;Matrix4x4>):void private Animator addClip(clip:AnimationClip, playName:String = null, startFrame:int = 0, endFrame:int = 4294967295):void 添加动画片段。 Animator event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher getClip(playName:String):AnimationClip 通...
来源: laya_api 发布时间: 20170929
...EDTYPE_REALTIME : int = 0[static] 灯光烘培类型-实时。LightSprite name : String节点名称。Node numChildren : int[read-only] 子对象数量。 Node parent : Node[read-only] 父节点。Node scene : *[read-only] 获得所属场景。 Node shadow : Boolean 获取是否产生阴影...
来源: Laya2.0_api 发布时间: 20190513
...port laya.ui.Label; class Item extends Box { public function Item() { this.name = "render"; this.right = 0; this.left = 0; var selectBox:Clip = new Clip("resource/ui/clip_selectBox.png", 1, 2); selectBox.name = "selectBox"; selectBox.height = 24; selectBox.x = 13; selectBox.y = 0; selectBox.left = 1...
来源: Laya3.0_api 发布时间: 20231115