大约有 2,053 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0097 秒)
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: Laya3.0_api 发布时间: 20231115
... Globals "laya/display/Graphics" Graphics Class Graphics Graphics 类用于创建绘图显示对象。Graphics可以同时绘制多个位图或者矢量图,还可以结合save,restore,transform,scale,rotate,translate,alpha等指令对绘图效果进行变化。 Graphics以命令流方...
来源: Laya3.0_api 发布时间: 20231115
...old'>HTMLDivElement</span>"; html += "<span color='#6ad2e3'>创建的</span><br/>"; html += "<span color='#d26ae3'>HTML文本</span>"; htmlDiv.innerHTML=html; htmlDiv.pos(50,200); var txt:String = ""; var tTxt:String; var tHTMLElement:HTMLElement; for(var i:int...
来源: Laya_社区 发布时间: 20161027
... Menu Globals "laya/d3/core/UI3D/UI3D" UI3D Class UI3D BaseCamera 类用于创建摄像机的父类。 Hierarchy BaseRender UI3D Implements IBoundsCell Index Constructors constructor Properties _extra _receiveShadow _singleton owner runInEditor scriptPath sortingFudge TempMatrix Accessors awaked bil...
来源: Laya3.0_api 发布时间: 20231115
...个平面,一个方体,一个球体。以下我用laya自带的方法创建,这个环节不做过多介绍。 //初始化3d画布 Laya3D.init(0, 0, true); //设置全屏 Laya.stage.scaleMode = Stage.SCALE_FULL; //显示统计数据 Stat.show(); //给舞台添加laya3d场景 var scene:Scene = L...
来源: Laya_社区 发布时间: 20161223
...GradEffect" ColorGradEffect Class ColorGradEffect ColorGradEffect 类用于创建调色Effect Hierarchy PostProcessEffect ColorGradEffect Index Constructors constructor Properties _lutTex SHADERDEFINE_ACES SHADERDEFINE_CUSTOMLUT SHADERVALUE_CUSTOMLUT SHADERVALUE_CUSTOMLUTPARAMS SHADERVALUE_LUT SHADE...
来源: Laya3.0_api 发布时间: 20231115
...y.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); //创建材质 var customMaterial = new Laya.MultiplePassOutlineMaterial(); //漫反射贴图 Laya.Texture2D.load("res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/diffuse.png", Laya.Handler.create(this, function(texture) ...
来源: Laya2.0_文档 发布时间: 20210715
...y.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); //创建材质 var customMaterial = new Laya.MultiplePassOutlineMaterial(); //漫反射贴图 Laya.Texture2D.load("res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/diffuse.png", Laya.Handler.create(this, function(texture) ...
来源: Laya2.0_文档 发布时间: 20210715
...d3/physics/Rigidbody3D" Rigidbody3D Class Rigidbody3D Rigidbody3D 类用于创建刚体碰撞器。 Hierarchy PhysicsTriggerComponent Rigidbody3D Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath userData TYPE_DYNAMIC TYPE_KINEMATIC TYPE_STATIC Ac...
来源: Laya3.0_api 发布时间: 20231115
...mationPlayer(): AnimationPlayer Defined in laya/ani/AnimationPlayer.ts:268 创建一个 AnimationPlayer 实例。 Returns AnimationPlayer Properties isCache isCache: boolean = true Defined in laya/ani/AnimationPlayer.ts:65 是否缓存 playbackRate playbackRate: number = 1 Defined in laya/ani/Animat...
来源: Laya3.0_api 发布时间: 20231115