大约有 624 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0038 秒)
...us?: number, height?: number, orientation?: number): CylinderColliderShape Overrides ColliderShape.constructor Defined in laya/d3/physics/shape/CylinderColliderShape.ts:57 创建一个新的 CylinderColliderShape 实例。 Parameters Default value radius: number = 0.5 半径。 Default value height:...
来源: Laya3.0_api 发布时间: 20231115
...ount: number, bufferUsage?: BufferUsage, canRead?: boolean): IndexBuffer3D Overrides IndexBuffer.constructor Defined in laya/d3/graphics/IndexBuffer3D.ts:38 创建一个 IndexBuffer3D,不建议开发者使用并用IndexBuffer3D.create()代替 实例。 Parameters indexType: IndexFormat 索引类型...
来源: Laya3.0_api 发布时间: 20231115
...ius?: number, length?: number, orientation?: number): CapsuleColliderShape Overrides ColliderShape.constructor Defined in laya/d3/physics/shape/CapsuleColliderShape.ts:60 创建一个新的 CapsuleColliderShape 实例。 Parameters Default value radius: number = 0.5 Default value length: number = 2 ...
来源: Laya3.0_api 发布时间: 20231115
...radius?: number, height?: number, orientation?: number): ConeColliderShape Overrides ColliderShape.constructor Defined in laya/d3/physics/shape/ConeColliderShape.ts:47 创建一个新的 ConeColliderShape 实例。 Parameters Default value radius: number = 0.5 半径。 Default value height: number ...
来源: Laya3.0_api 发布时间: 20231115
...ody(rigidBody,rigidBody2); ``` - 3.设置约束的breakForce ```typescript override public function onStart() { this.fixedConstraint = this.owner.getComponent(FixedConstraint); //设置打破约束的力的阈值 this.fixedConstraint.breakForce = 1000; } override public function onUpdate() { if(this...
来源: Laya2.0_文档 发布时间: 20210714
...derShape(sizeX?: number, sizeY?: number, sizeZ?: number): BoxColliderShape Overrides ColliderShape.constructor Defined in laya/d3/physics/shape/BoxColliderShape.ts:66 创建一个新的 BoxColliderShape 实例。 Parameters Default value sizeX: number = 1 盒子X轴尺寸。 Default value sizeY: num...
来源: Laya3.0_api 发布时间: 20231115
...TempletPublic Methods MethodDefined By _setCreateURL(url:String):void[override] Templet buildArmature(aniMode:int = 0):Skeleton 创建动画 0,使用模板缓冲的数据,模板缓冲的数据,不允许修改 (内存开销小,计算开销小,不支持换装) 1,使用动画自己...
来源: Laya2.0_api 发布时间: 20190513
...nstructor new StaticBatchMeshRenderElement(): StaticBatchMeshRenderElement Overrides RenderElement.constructor Defined in laya/d3/component/staticmesh/StaticBatchMeshRenderElement.ts:4 Returns StaticBatchMeshRenderElement Properties _batchElement _batchElement: RenderElement Inherited from RenderEle...
来源: Laya3.0_api 发布时间: 20231102
...ge Constructors constructor new OpenDataContextView(): OpenDataContextView Overrides UIComponent.constructor Defined in laya/ui/OpenDataContextView.ts:13 Returns OpenDataContextView Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphi...
来源: Laya3.0_api 发布时间: 20231115
...efined in laya/d3/core/render/command/BlitFrameBufferCMD.ts:151 inheritdoc override Returns void run run(): void Defined in laya/d3/core/render/command/BlitFrameBufferCMD.ts:105 inheritdoc override Returns void setshader setshader(shader: Shader3D, subShader: number, shaderData: ShaderData): void De...
来源: Laya3.0_api 发布时间: 20231115