import { Component, ContextManager } from '@zcomponent/core'; import { PhysicsConstraint, PhysicsConstraintBaseConstructorProps } from './PhysicsConstraint'; interface SliderConstraintConstructorProps extends PhysicsConstraintBaseConstructorProps { /** * @zprop * @zdefault [0, 0, 0] */ pivotA?: [number, number, number]; /** * @zprop * @zdefault [0, 0, 0] */ pivotB?: [number, number, number]; /** * @zprop * @zdefault [0, 0, 0] */ axisA?: [number, number, number]; /** * @zprop * @zdefault [0, 0, 0] */ axisB?: [number, number, number]; } /** * Creates a SliderConstraint, which is a type of PhysicsConstraint. * * It allows the user to specify the two pivots and two axes of the constraint in world space. * This is useful for creating a constraint between two rigid bodies that allows them to move along a certain axis. * * @zicon lock * @zparents three/Object3D/** * @zgroup Physics Constraints */ export declare class SliderConstraint extends PhysicsConstraint { constructor(contextManager: ContextManager, instance: Component, props: SliderConstraintConstructorProps); } export {};