大约有 344 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0042 秒)
Laya_社区(179) Laya3.0_api(65) Laya2.0_文档(28) Laya_示例(17) Laya3.0_文档(14) Laya2.0_示例(14) Laya2.0_api(14) laya_api(13)
...f (_outHitInfo.distance !== -1) { str = _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_示例 发布时间: 20251130
...2、获取Html文本的实际内容、获取html文本的实际宽高(contextWidth、contextHeight) 示例如下:var htmlDiv:HTMLDivElement=new HTMLDivElement(); var html:String = "<span color='#e3d26a'>使用</span>"; html += "<span style='color:#FFFFFF;font-weight:bold'>HTM...
来源: Laya_社区 发布时间: 20161027
...his.shape.rotation += 5;//旋转 shape 对象。 } } Hierarchy Node Sprite Text Stage AnimationBase Scene Scene3D SoundNode VideoNode Skeleton MovieClip TileAniSprite MapLayer GridSprite Particle2D PhysicsDebugDraw SpineSkeleton UIComponent DialogManager Index Constructors constructor Properties _ex...
来源: Laya3.0_api 发布时间: 20231115
...index.html,添加script指定路径 <!-- pemolo --> <script type="text/javascript" src="libs/PomeloClient.js"></script> 这样就可以了,便于使用和习惯,个人封装了pomloClient如: /** 基于pomelo网络握手通讯*/ export class Socket extends Laya.EventD...
来源: Laya_社区 发布时间: 20161109