大约有 1,253 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0052 秒)
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/light/SpotLightCom" SpotLightCom Class SpotLightCom SpotLight 类用于创建聚光。 Hierarchy Light SpotLightCom Index Constructors constructor Properties _extra _singleton color owner r...
来源: Laya3.0_api 发布时间: 20231115
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physics/constraints/FixedConstraint" FixedConstraint Class FixedConstraint Hierarchy ConstraintComponent FixedConstraint Index Constructors constructor Properties _extra _singleton disableCollis...
来源: Laya3.0_api 发布时间: 20231115
... Laya; //有了@regClass(),才会被识别为script脚本类 @regClass() export class Script extends Laya.Script { //属性上面有了@property(),才会被识别为IDE里可暴露的属性,每一个属性只要需要暴露,上面就都需要加上@property()。 @property( { type : String } ...
来源: Laya3.0_文档 发布时间: 20250217
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physics/PhysicsTriggerComponent" PhysicsTriggerComponent Class PhysicsTriggerComponent PhysicsTriggerComponent 类用于创建物理触发器组件。 Hierarchy PhysicsComponent PhysicsTriggerCo...
来源: Laya3.0_api 发布时间: 20231115
...用Laya.HtmlVideo播放视频 * @ author:xs * @ data: 2024-03-05 16:20 */ export default class VideoDom { htmlvideo:Laya.HtmlVideo; constructor() { Laya.stage.on(Laya.Event.CLICK,this,this.onClick); } onClick(){ this.initVideo(); } initVideo() { this.htmlvideo = new Laya.HtmlVideo(); this.htmlvideo....
来源: Laya_社区 发布时间: 20240305
...脚本,添加的代码如下: ... import Vector3 = Laya.Vector3; ... export class AnimationScript extends Laya.AnimatorStateScript { ... private model: Laya.Sprite3D; /**@internal */ setPlayScriptInfo(animator: Laya.Animator | Laya.Animator2D, layerindex: number, playstate: Laya.AnimatorState | ...
来源: Laya3.0_文档 发布时间: 20240910
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/Volume/VolumetricGI/VolumetricGI" VolumetricGI Class VolumetricGI Hierarchy Volume VolumetricGI Index Constructors constructor Properties _extra _singleton intensity owner probeCounts ...
来源: Laya3.0_api 发布时间: 20231115
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physics/PhysicsCollider" PhysicsCollider Class PhysicsCollider PhysicsCollider 类用于创建物理碰撞器。 Hierarchy PhysicsTriggerComponent PhysicsCollider Index Constructors constructor ...
来源: Laya3.0_api 发布时间: 20231115
...20-09-11 15:01 浏览: 2083 关注: 2 人 198*****136 • 2020-09-11 16:34 export default class Scene_Battle extends Laya.Script{ playerUnitReady:number; enemyUnitReady:number; private playerUnit:Laya.Animation[]; private enemyUnit:Laya.Animation[]; constructor(){ super(); Laya.stage.alignH= Laya.St...
来源: Laya_社区 发布时间: 20200910
...wser = Laya.Browser; import Tween = Laya.Tween; import WebGL = Laya.WebGL; export class Interaction_Swipe { //swipe滚动范围 private TrackLength: number = 200; //触发swipe的拖动距离 private TOGGLE_DIST: number = this.TrackLength / 2; private buttonPosition: number; private beginPosition: n...
来源: Laya_示例 发布时间: 20250222