mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 02:39:46 +02:00
This commit is contained in:
parent
f0f62670c5
commit
7e26256cac
4563 changed files with 1246712 additions and 17558 deletions
33
node_modules/three/examples/jsm/nodes/utils/VelocityNode.d.ts
generated
vendored
Normal file
33
node_modules/three/examples/jsm/nodes/utils/VelocityNode.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,33 @@
|
|||
import {
|
||||
Object3D,
|
||||
Vector3
|
||||
} from '../../../../src/Three';
|
||||
|
||||
import { NodeFrame } from '../core/NodeFrame';
|
||||
import { Vector3Node } from '../inputs/Vector3Node';
|
||||
|
||||
export interface VelocityNodeParams {
|
||||
damping: number;
|
||||
spring: number;
|
||||
type: string;
|
||||
}
|
||||
|
||||
export class VelocityNode extends Vector3Node {
|
||||
|
||||
constructor( target: Object3D, params?: VelocityNodeParams );
|
||||
|
||||
velocity: Vector3;
|
||||
moment: Vector3 | undefined;
|
||||
speed: Vector3 | undefined;
|
||||
springVelocity: Vector3 | undefined;
|
||||
lastVelocity: Vector3 | undefined;
|
||||
|
||||
nodeType: string;
|
||||
|
||||
setParams( params: VelocityNodeParams ): void;
|
||||
setTarget( target: Object3D ): void;
|
||||
updateFrameVelocity( frame: NodeFrame ): void;
|
||||
updateFrame( frame: NodeFrame ): void;
|
||||
copy( source: VelocityNode ): this;
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue