The Vector3 type exposes the following members.
Methods
| Name | Description |
---|
| Add | |
| AngleBetween | |
| Blend | |
| Cardinal(Vector3, Vector3, Vector3, Vector3, Single, Single, Single) | |
| Cardinal(Vector3, Vector3, Vector3, Vector3, Single, Single, Single, Vector3) | |
| CatmullRom(Vector3, Vector3, Vector3, Vector3, Single) | |
| CatmullRom(Vector3, Vector3, Vector3, Vector3, Single, Vector3) | |
| Cross(Vector3, Vector3) | |
| Cross(Vector3, Vector3, Vector3) | |
| CrossProduct | |
| CubiceHermiteCurve | |
| Distance(Vector3) | |
| Distance(Vector3, Vector3) | |
| Distance(Vector3, Vector3) | |
| Distance2D(LineSegment) | |
| Distance2D(Vector3) | |
| Distance2D(Vector3, Vector3) | |
| Distance2DSqr(Vector3) | |
| Distance2DSqr(Vector3, Vector3) | |
| Distance3D | |
| DistanceSqr(Vector3) | |
| DistanceSqr(Vector3, Vector3) | |
| DistanceSqr(Vector3, Vector3) | |
| Dot(Vector3, Vector3) | |
| Dot(Vector3, Vector3) | |
| DotProduct | |
| Equals(Object) | (Overrides ValueTypeEquals(Object).) |
| Equals(Vector3) | |
| GetHashCode | (Overrides ValueTypeGetHashCode.) |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| Hermite(Vector3, Vector3, Vector3, Vector3, Single) | |
| Hermite(Vector3, Vector3, Vector3, Vector3, Single, Vector3) | |
| LengthSquared | |
| Lerp | |
| Max | |
| Min | |
| Normalize | |
| NormalizedDirection | |
| RayCast | |
| ToString | (Overrides ValueTypeToString.) |
| ToVector2 | |
TopExtension Methods
| Name | Description |
---|
| Add | Adds the provided X, Y, and Z offsets to Vector3 yielding a new Vector3. --- The HBcore only provides a version of this that accepts 'float' values.
This version accepts 'doubles', because it is inefficient to keep truncating
data types (to float) that are provided by the Math and other libraries. 'Double' performance is just as fast as 'Float'. Internally, modern
computer architectures calculate using maximum precision (i.e., many bits
bigger than double), then truncate the result to fit. The only benefit
'float' has over 'double' is storage space, which is negligible unless
you've a database using billions of them. (Defined by Extensions_Vector3.) |
| AddPolarXZ | (Defined by Extensions_Vector3.) |
| FanOutRandom | Finds another point near the destination. Useful when toon is 'waiting' for something
(e.g., boat, mob repops, etc). This allows multiple people running
the same profile to not stand on top of each other while waiting for
something. Notes: * The returned Vector3 is carefully chosen. The returned Vector3
will not cause you to fall off a boat dock or Zeppelin landing. * Should only be used once the player is within 100 yards of the provided location otherwise the raycasts will fail
(Defined by Extensions_Vector3.) |
| IsOverGround |
Returns true, if ground is within DISTANCE _below_ you.
(Defined by Extensions_Vector3.) |
TopSee Also