Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Static Public Member Functions

# LinearForce Class Reference

Inheritance diagram for LinearForce:

List of all members.

## Public Member Functions
float | getAmplitude ()
bool | getMassDependent ()
Vec3 | getVector (PhysicsObject const po)
Vec3 | getVectorMasks ()
LinearForce | makeCopy ()
| setAmplitude (float a)
| setMassDependent (bool m)
| setVectorMasks (bool x, bool y, bool z)
| write (ostream out)
| Write a string representation of this instance to <out>.
| write (ostream out, unsigned int indent)
| Write a string representation of this instance to <out>.
## Static Public Member Functions
static TypeHandle | getClassType ()

## Member Function Documentation

float getAmplitude | ( |  | ) |

static TypeHandle getClassType | ( |  | ) | `[static]`

Reimplemented from BaseForce.

Reimplemented in LinearControlForce, LinearCylinderVortexForce, LinearDistanceForce, LinearFrictionForce, LinearRandomForce, LinearJitterForce, LinearNoiseForce, LinearSinkForce, LinearSourceForce, LinearUserDefinedForce, and LinearVectorForce.

bool getMassDependent | ( |  | ) |

Vec3 getVector | ( | PhysicsObject const | po | ) |

Vec3 getVectorMasks | ( |  | ) |

LinearForce makeCopy | ( |  | ) |

setAmplitude | ( | float | a | ) |

setMassDependent | ( | bool | m | ) |

setVectorMasks | ( | bool | x,
|  | bool | y,
|  | bool | z
| ) |  |

write | ( | ostream | out | ) |

Write a string representation of this instance to <out>.

Reimplemented from BaseForce.

write | ( | ostream | out,
|  | unsigned int | indent
| ) |  |

Write a string representation of this instance to <out>.

All Classes Namespaces Functions Variables Enumerations Enumerator Properties