大约有 1,498 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0053 秒)
Laya_社区(810) Laya3.0_api(343) Laya2.0_api(142) laya_api(114) Laya2.0_文档(52) Laya3.0_文档(28) Laya2.0_示例(5) Laya_示例(4)
...ed bounds destroyed enabled hideFlags id lods nowRate Methods _initialize _setOwner destroy hasHideFlag onAdded onAwake onDisable onEnable onLateUpdate onPostRender onReset onStart onUpdate Constructors constructor new LODGroup(): LODGroup Overrides Component.constructor Defined in laya/d3/component...
来源: Laya3.0_api 发布时间: 20231115
...port Shader3D = Laya.Shader3D; import SubShader = Laya.SubShader; import BaseTexture = Laya.BaseTexture; export default class Test1Material extends BaseMaterial { public readonly MAIN_TEX:number = Shader3D.propertyNameToID("u_MainTex"); public readonly NOISE_TEX:number = Shader3D.propertyNameToID("u...
来源: Laya_社区 发布时间: 20190923
...tanceCount Accessors bufferState material mesh Methods destroy recover run setContext setDrawNums setWorldMatrix Constructors constructor new DrawMeshInstancedCMD(): DrawMeshInstancedCMD Overrides Command.constructor Defined in laya/d3/core/render/command/DrawMeshInstancedCMD.ts:85 Returns DrawMeshI...
来源: Laya3.0_api 发布时间: 20231115
...戏中加载入口页的话,还是用的本地加载mPlugin.game_plugin_set_option("localize", "true"); mPlugin.game_plugin_set_option("gameUrl", "http://stand.alone.version/ind ... 6quot;); 因为我觉得资源还是存在本地,只是位置变了,所以没有改成网络加载的方式 结...
来源: Laya_社区 发布时间: 20180327
...// 关于修改shader内部值的操作 假如有uniform float water_iTime setShaderValue (sprite) { // 在这里直接对 sprite.shaderValue.water_iTime += 1 } var texture = sprite.image_data const width = sprite.set_width const height = sprite.set_height var new_texture = sprite.drawToCanvas(width...
来源: Laya_社区 发布时间: 20180531
...e(如果父节点手动设置为false,则不会更改)。 Sprite mouseThrough : Boolean = false 鼠标事件与此对象的碰撞检测是否可穿透。碰撞检测发生在鼠标事件的捕获阶段,此阶段引擎会从stage开始递归检测stage及其子对象,直到找到命中的...
来源: Laya2.0_api 发布时间: 20190513
...ined in laya/d3/math/Plane.ts:10 Accessors distance get distance(): number set distance(value: number): void Defined in laya/d3/math/Plane.ts:46 平面距离 Returns number Defined in laya/d3/math/Plane.ts:42 平面距离 Parameters value: number Returns void normal get normal(): Vector3 set normal(...
来源: Laya3.0_api 发布时间: 20231115
...ypeof(MyWindow)); } void OnGUI() { // 文本 GUILayout.Label("Base Setting"); // 可以编辑,编辑后用同一个变量保存结果 myString = EditorGUILayout.TextField("这是文本", myString); // 开启一组选项 groupEnabled = EditorGUILayout.BeginToggleGroup("Options setti...
来源: Laya_社区 发布时间: 20171102
...RIENTATION_UPX SHAPEORIENTATION_UPY SHAPEORIENTATION_UPZ Accessors localOffset localRotation type Methods clone cloneTo destroy updateLocalTransformations Constructors constructor new CannonColliderShape(): CannonColliderShape Defined in laya/d3/physicsCannon/shape/CannonColliderShape.ts:138 创建...
来源: Laya3.0_api 发布时间: 20231102
...de replaceChild(newNode:Node, oldNode:Node):Node 替换子节点。 Node setChildIndex(node:Node, index:int):Node 设置子节点的索引位置。 Node timerLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true, jumpFrame:Boolean = false):void 定时重复执...
来源: laya_api 发布时间: 20170929