大约有 87 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0034 秒)
....boxCollider.boundBox.getCorners(_corners) this.phasorSpriter3D.begin(Laya.WebGLContext.LINES, this.camera); this.phasorSpriter3D.line(_corners[0], _color, _corners[1], _color); this.phasorSpriter3D.line(_corners[1], _color, _corners[2], _color); this.phasorSpriter3D.line(_corners[2], _color, _corne...
来源: Laya_社区 发布时间: 20180821
... _corners[3] = new Laya.Vector3(0,0,100); phasorSpriter3D.begin(Laya.WebGLContext.LINES, camera); phasorSpriter3D.line(_corners[0], _color, _corners[1], _color); phasorSpriter3D.line(_corners[1], _color, _corners[2], _color); phasorSpriter3D.line(_corners[2], _color, _corners[3], _color); phas...
来源: Laya_社区 发布时间: 20180426
...buffer : *Buffer _bufferType : intBuffer _bufferUsage : intBuffer _gl : WebGLContext[static] Buffer _glBuffer : *BufferPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By VertexBuffer3D(vertexDeclaration:VertexDeclaration, vertexCount:int, bufferUsage:...
来源: laya_api 发布时间: 20170929
...buffer : *Buffer _bufferType : intBuffer _bufferUsage : intBuffer _gl : WebGLContext[static] Buffer _glBuffer : *BufferPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By IndexBuffer3D(indexType:String, indexCount:int, bufferUsage:int, canRead:Boolean ...
来源: laya_api 发布时间: 20170929
...ce渲染方案 优点:instance变量多,灵活 缺点:合并数量受WebGLContext._maxUniformFragmentVectors的影响,合并效率低 Methods clear clear(): void Defined in laya/d3/core/render/command/MaterialInstancePropertyBlock.ts:150 Returns void getPropertyArray getPropertyArray(attribu...
来源: Laya3.0_api 发布时间: 20231115
...始绘制矢量3D精灵,类型为线型 this.phasorSprite3D.begin(Laya.WebGLContext.LINES, this.camera); //根据射线的原点绘制参考直线(为了观察方便而绘制,但矢量线并不是射线真正的路径) this.phasorSprite3D.line(this.ray.origin, new Laya.Vector4(1,0,0,1), posi...
来源: Laya_社区 发布时间: 20181020
...wser; import laya.utils.Handler; import laya.utils.Stat; import laya.webgl.WebGLContext; import common.CameraMoveScript; import common.Tool; /** * ... * @author */ public class MeshLoad { public function MeshLoad() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screen...
来源: Laya_示例 发布时间: 20241118
...ame === "tlj"){ isRotate = !isRotate; } // this.phasorSpriter3D.begin(Laya.WebGLContext.LINES, state); // //绘出射线 // this.phasorSpriter3D.line(this.ray.origin.x, this.ray.origin.y, this.ray.origin.z, 1.0, 0.0, 0.0, 1.0, 0, -1, 0, 1.0, 0.0, 0.0, 1.0); // this.phasorSpriter3D.end(); } var Stage...
来源: Laya_社区 发布时间: 20170323
... _outHitInfo.sprite3D.name; } label.text = str; phasorSpriter3D.begin(Laya.WebGLContext.LINES, camera); //绘出射线 phasorSpriter3D.line(ray.origin, _color, _linePos, _color); //绘出MeshCollider检测出物体的3角面 for (var i = 0; i ; private _posiV3: Laya.Vector3; private _scaleV3: Laya.V...
来源: Laya_示例 发布时间: 20241118
...新排序。SpriteProtected Methods MethodDefined By _renderDebug(gl:WebGLContext, state:RenderState):voidBaseSceneEvents Hide Inherited Events Show Inherited Events Event Summary Defined By added添加到父对象后调度。Node click鼠标点击对象后调度。Sprite display加入节...
来源: laya_api 发布时间: 20170422