UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

44 lines (43 loc) 1.71 kB
import { Material, Object3D, Texture, Vector2, Vector3 } from 'three'; import { NamedFunction9, ObjectNamedFunction0, ObjectNamedFunction1, ObjectNamedFunction2, ObjectNamedFunction5 } from './_Base'; import { ClothMaterialUniformConfigRef } from '../../core/cloth/modules/ClothFBOController'; export declare class clothSolverReset extends ObjectNamedFunction0 { static type(): string; func(object3D: Object3D): void; } export declare class clothSolverStepSimulation extends ObjectNamedFunction5<[ number, number, number, number, ClothMaterialUniformConfigRef ]> { static type(): string; func(object3D: Object3D, stepsCount: number, constraintInfluence: number, viscosity: number, spring: number, uniformConfigRef: ClothMaterialUniformConfigRef): void; } export declare class clothSolverUpdateMaterial extends NamedFunction9<[ Material, string, string, string, string, Vector2, Texture, Texture, Texture ]> { static type(): string; func(material: Material, tSizeName: string, tPosition0Name: string, tPosition1Name: string, tNormalName: string, tSize: Vector2, tPosition0: Texture, tPosition1: Texture, tNormal: Texture): void; } export declare class clothCreateConstraint extends ObjectNamedFunction1<[number]> { static type(): string; func(object3D: Object3D, index: number): void; } export declare class clothDeleteConstraint extends ObjectNamedFunction0 { static type(): string; func(object3D: Object3D): void; } export declare class clothConstraintSetPosition extends ObjectNamedFunction2<[Vector3, number]> { static type(): string; func(object3D: Object3D, position: Vector3, lerp: number): void; }