大约有 1,150 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0052 秒)
Laya3.0_api(314) Laya_社区(291) Laya2.0_api(226) laya_api(174) Laya2.0_文档(113) Laya3.0_文档(29) Laya2.0_示例(3)
...URL Defined in laya/resource/Resource.ts:196 返回资源是否从指定url创建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off De...
来源: Laya3.0_api 发布时间: 20231102
...硬件设备的很多技术瓶颈,性能比肯定不如建模软件直接创建的模型,所以此方案酌情考虑! CreateHeightMap.zip 2017-05-05 1 5 分享 微博 QZONE 微信 sfsmmc 赞同来自: 使用插件生成的高度图不能和原模型重合,有拉伸变形该怎么...
来源: Laya_社区 发布时间: 20170505
...math/Native/ConchVector4" ConchVector4 Class ConchVector4 Vector4 类用于创建四维向量。 Hierarchy ConchVector4 Implements IClone Index Constructors constructor Properties elements ONE UnitW UnitX UnitY UnitZ ZERO Accessors w x y z Methods clone cloneTo fromArray length lengthSquared Clamp a...
来源: Laya3.0_api 发布时间: 20231102
... "laya/d3/math/Quaternion" Quaternion Class Quaternion Quaternion 类用于创建四元数。 Hierarchy Quaternion Implements IClone Index Constructors constructor Properties w x y z DEFAULT NAN Methods clone cloneTo equals forNativeElement fromArray getYawPitchRoll identity invert length lengthSqua...
来源: Laya3.0_api 发布时间: 20231102
...nt.constructor Defined in laya/d3/physics/constraints/FixedConstraint.ts:6 创建一个FixedConstraint实例 Returns FixedConstraint Properties Optional _extra _extra: IComponentExtra Inherited from Component._extra Defined in laya/components/Component.ts:36 Optional _singleton _singleton: boolean =...
来源: Laya3.0_api 发布时间: 20231115
...ConchQuaternion" ConchQuaternion Class ConchQuaternion Quaternion 类用于创建四元数。 Hierarchy ConchQuaternion Implements IClone Index Constructors constructor Properties elements DEFAULT NAN Accessors w x y z Methods clone cloneTo equals fromArray getYawPitchRoll identity invert length len...
来源: Laya3.0_api 发布时间: 20231102
...mponent.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销毁时执行 Returns void onDisable onDisabl...
来源: Laya3.0_api 发布时间: 20231115
...hader var customShader = Laya.Shader3D.add("MultiplePassOutlineShader"); //创建一个subShader var subShader = new Laya.SubShader(attributeMap, uniformMap); customShader.addSubShader(subShader); //添加一个Pass var pass1 = subShader.addShaderPass(OutlineVS, OutlineFS); //设置渲染状态,...
来源: Laya2.0_文档 发布时间: 20210714
...lobals "laya/d3/shader/Shader3D" Shader3D Class 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 RE...
来源: Laya3.0_api 发布时间: 20231102
...那我们可以只写一个HP.js 来实现两个能量条的功能,我们创建一个Hp.js 代码如下 (function () { /** * 血条 * */ function Hp(type){ //背景 this.bg = null; //进度条 this.bar = null; //最小值 this.MIN_VALUE = 0; //最大值 this.MAX_VALUE = 100; //值 this.value =...
来源: Laya_社区 发布时间: 20160803