大约有 2,995 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0074 秒)
Laya_社区(1062) Laya3.0_api(668) Laya2.0_api(366) laya_api(298) Laya2.0_文档(230) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(107)
...d Menu Globals "laya/d3/physics/shape/ConeColliderShape" ConeColliderShape Class ConeColliderShape ConeColliderShape 类用于创建圆锥碰撞器。 Hierarchy ColliderShape ConeColliderShape Implements IClone Index Constructors constructor Properties needsCustomCollisionCallback SHAPEORIENTATION_U...
来源: Laya3.0_api 发布时间: 20231115
...ernals Only exported Menu Globals "laya/device/motion/Gyroscope" Gyroscope Class Gyroscope 使用Gyroscope.instance获取唯一的Gyroscope引用,请勿调用构造函数。 listen()的回调处理器接受两个参数: function onOrientationChange(absolute:Boolean, info:RotationInfo):void absol...
来源: Laya3.0_api 发布时间: 20231115
... Externals Only exported Menu Globals "laya/d3/shader/SubShader" SubShader Class SubShader SubShader 类用于创建SubShader。 Hierarchy SubShader Index Constructors constructor Properties IncludeUniformMap Methods _addShaderPass addShaderPass getFlag setFlag __init__ regIncludeBindUnifrom Object ...
来源: Laya3.0_api 发布时间: 20231102
...y.Sprite; import laya.display.Stage; public class Sprite_DrawShapes { private var sp:Sprite; public function Sprite_DrawShapes() { Laya.init(500, 300); ...
来源: Laya2.0_文档 发布时间: 20210715
...erited Externals Only exported Menu Globals "laya/d3/math/Vector2" Vector2 Class Vector2 Vector2 类用于创建二维向量。 Hierarchy Vector2 Implements IClone Index Constructors constructor Properties x y ONE ZERO Methods clone cloneTo forNativeElement fromArray setValue toArray writeTo dot nor...
来源: Laya3.0_api 发布时间: 20231102
...点上添加一个自定义组件脚本,脚本内容如下: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,...
来源: Laya3.0_文档 发布时间: 20251010
...ls "laya/d3/physicsCannon/CannonPhysicsSimulation" CannonPhysicsSimulation Class CannonPhysicsSimulation Simulation 类用于创建物理模拟器。 Hierarchy CannonPhysicsSimulation Index Properties fixedTimeStep maxSubSteps disableSimulation Accessors gravity solverIterations Methods clearForces ...
来源: Laya3.0_api 发布时间: 20231102
API DocumentationAll Packages | All Classes | Index | Frames No Frames TileTexSetProperties | Methods Packagelaya.mapClasspublic class TileTexSetInheritanceTileTexSet Object 此类是子纹理类,也包括同类动画的管理 TiledMap会把纹理分割成无数子纹理,也可以把其...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames ScriptProperties | Methods | Events Packagelaya.d3.componentClasspublic class ScriptInheritanceScript Component3D EventDispatcher Object Script 类用于创建脚本的父类。 Public Properties Hide Inherited Public P...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames CircleColliderProperties | Methods Packagelaya.physicsClasspublic class CircleColliderInheritanceCircleCollider ColliderBase Component Object 2D圆形碰撞体 Public Properties Hide Inherited Public Properties Show Inhe...
来源: Laya2.0_api 发布时间: 20190513