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

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

61. laya.maths.Matrix4x4_API3.0 [ 88%]

...ited Externals Only exported Menu Globals "laya/maths/Matrix4x4" Matrix4x4 Class Matrix4x4 Matrix4x4 类用于创建4x4矩阵。 Hierarchy Matrix4x4 Implements IClone Index Constructors constructor Properties elements DEFAULT DEFAULTINVERT ZERO Methods clone cloneByArray cloneTo decomposeTransRotMat...

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

62. laya.maths.Point [ 87%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames PointProperties | Methods | Constants Packagelaya.mathsClasspublic class PointInheritancePoint Object Point 对象表示二维坐标系统中的某个位置,其中 x 表示水平轴,y 表示垂直轴。 Public Prope...

来源: Laya2.0_api 发布时间: 20190513

63. laya.d3.math.Matrix4x4_API3.0 [ 87%]

...ed Externals Only exported Menu Globals "laya/d3/math/Matrix4x4" Matrix4x4 Class Matrix4x4 Matrix4x4 类用于创建4x4矩阵。 Hierarchy Matrix4x4 Implements IClone Index Constructors constructor Properties elements DEFAULT ZERO Methods clone cloneByArray cloneTo decomposeTransRotMatScale decompos...

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

64. 混合模式-Lighter [ 87%]

... 400, bgColorChannels = { r: 99, g: 0, b: 0xFF }, gradientInterval = 2000; class BlendMode_Lighter { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Sprite = Laya.Sprite, Tween = Laya.Tween; // 不支持WebGL时自动切换至Canvas Laya.init(p...

来源: Laya2.0_示例 发布时间: 20241002

65. laya.d3.math.BoundSphere [ 87%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames BoundSphereProperties | Methods Packagelaya.d3.mathClasspublic class BoundSphereInheritanceBoundSphere ObjectImplements laya.d3.core.IClone BoundSphere 类用于创建包围球。 Public Properties PropertyDefined By ...

来源: laya_api 发布时间: 20170929

66. 如何启用摇一摇 [ 87%]

...ontroller { import model.Model; /** * ... * @author 偷心枫贼 */ public class Controller_yao1yao { public function Controller_yao1yao(model:Model) { __JS__('_model = model'); __JS__('var SHAKE_THRESHOLD = 100'); __JS__('var last_update = 0'); __JS__('var x = y = z = last_x = last_y = last_z = 0;'...

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

67. laya.d3.math.BoundSphere [ 87%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames BoundSphereProperties | Methods Packagelaya.d3.mathClasspublic class BoundSphereInheritanceBoundSphere ObjectImplements laya.d3.core.IClone BoundSphere 类用于创建包围球。 Public Properties PropertyDefined By ...

来源: Laya2.0_api 发布时间: 20190513

68. laya.d3.math.Viewport [ 86%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames ViewportProperties | Methods Packagelaya.d3.mathClasspublic class ViewportInheritanceViewport Object Viewport 类用于创建视口。 Public Properties PropertyDefined By  height : Number高度Viewport  maxDepth : ...

来源: laya_api 发布时间: 20170929

69. 高级应用-闪光 [ 86%]

...Math.sin(scaleValue * 20) * 2; glitter.addGlitterByPositions(pos1, pos2); }class GlitterDemo { private glitter: Laya.Glitter; private pos1: Laya.Vector3; private pos2: Laya.Vector3; private scaleDelta: number = 0; private scaleValue: number = 0; constructor() { Laya3D.init(0, 0, true); Laya.stage.sc...

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

70. 鼠标交互-双指旋转(多点触控) [ 86%]

...种开发语言、LayaAirIDE让项目开发更高效。let preRadian = 0; class Interaction_Rotate { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth...

来源: Laya2.0_示例 发布时间: 20241002