• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,253 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0054 秒)

1011. 描边Shader,使用了两个Pass [ 48%]

...参考,示例工程请参阅附件 截图如下:   核心代码如下 export default class OutlineMaterial extends Laya.BaseMaterial { constructor() { super() var attributeMap = { 'a_Position': Laya.VertexMesh.MESH_POSITION0, 'a_Normal': Laya.VertexMesh.MESH_NORMAL0, 'a_Texcoord': Laya.VertexMe...

来源: Laya_社区 发布时间: 20180925

1012. 求HTTP相关的文档或者例子谢谢了 [ 48%]

...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? matter.js的文档查看 关于逻辑贞更新间隔机制、时间和其他一些Timer相关的问题 关於文档丶API丶Demo若有异动 Laya有没有User Manual式的文档帮助 希望Laya3D的入门提供...

来源: Laya_社区 发布时间: 20151217

1013. 绘制曲线(TypeScript-LayaAir基础篇(TS)-矢量图) [ 48%]

... Stage = Laya.Stage;     import WebGL = Laya.WebGL;        export class Sprite_DrawShapes {         private sp: Sprite;            constructor()         {             Laya.init(500, 300, WebGL);             this.drawSomething()...

来源: Laya2.0_文档 发布时间: 20210715

1014. laya.d3.component.Animator_API3.0 [ 48%]

...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/Animator" Animator Class Animator Animator 类用于创建动画组件。 Hierarchy Component Animator Index Constructors constructor Properties _extra _singleton cullingMode owner run...

来源: Laya3.0_api 发布时间: 20231102

1015. 3D中摄像机绕物体旋转该如何实现? [ 48%]

...mponent(ModelViewer); modelViewer.AroundPos = plane.transform.position; */ export default class ModelViewer extends Laya.Script { // Text m_debugTip; public canRotation_X: boolean = true; public canRotation_Y: boolean = true; public canScale: boolean = true; /// <summary> /// Around center. //...

来源: Laya_社区 发布时间: 20170714

1016. laya.d3.math.native.ConchQuaternion_API3.0 [ 48%]

...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/Native/ConchQuaternion" ConchQuaternion Class ConchQuaternion Quaternion 类用于创建四元数。 Hierarchy ConchQuaternion Implements IClone Index Constructors constructor Properties el...

来源: Laya3.0_api 发布时间: 20231102

1017. 官方案例里摄像机绕物体旋转脚本的问题 [ 48%]

...mponent(ModelViewer); modelViewer.AroundPos = plane.transform.position; */ export default class ModelViewer extends Laya.Script { // Text m_debugTip; public canRotation_X: boolean = true; public canRotation_Y: boolean = true; public canScale: boolean = true; /// <summary> /// Around center. //...

来源: Laya_社区 发布时间: 20190224

1018. laya.d3.core.light.DirectionLightCom_API3.0 [ 48%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/light/DirectionLightCom" DirectionLightCom Class DirectionLightCom DirectionLight 类用于创建平行光。 Hierarchy Light DirectionLightCom Index Constructors constructor Properties _ex...

来源: Laya3.0_api 发布时间: 20231115

1019. 文本-滚动文本 [ 48%]

...nt = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Text_Scroll { private txt: Text; private prevX: number = 0; private prevY: number = 0; constructor(){ // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.st...

来源: Laya_示例 发布时间: 20250222

1020. laya.display.BitmapFont_API3.0 [ 48%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/display/BitmapFont" BitmapFont Class BitmapFont BitmapFont 是位图字体类,用于定义位图字体信息。 字体制作及使用方法,请参考文章 see http://ldc2.layabox.com/doc/?nav=...

来源: Laya3.0_api 发布时间: 20231115