15#ifdef JPH_DEBUG_RENDERER
31 virtual
float GetPathMaxFraction() const = 0;
37 virtual
float GetClosestPoint(
Vec3Arg inPosition,
float inFractionHint) const = 0;
45 virtual
void GetPointOnPath(
float inFraction,
Vec3 &outPathPosition,
Vec3 &outPathTangent,
Vec3 &outPathNormal,
Vec3 &outPathBinormal) const = 0;
48 void SetIsLooping(
bool inIsLooping) { mIsLooping = inIsLooping; }
51#ifdef JPH_DEBUG_RENDERER
57 virtual void SaveBinaryState(
StreamOut &inStream)
const;
60 static PathResult sRestoreFromBinaryState(
StreamIn &inStream);
64 virtual void RestoreBinaryState(
StreamIn &inStream);
68 bool mIsLooping =
false;
#define JPH_EXPORT
Definition: Core.h:227
#define JPH_NAMESPACE_END
Definition: Core.h:367
#define JPH_NAMESPACE_BEGIN
Definition: Core.h:361
#define JPH_DECLARE_SERIALIZABLE_ABSTRACT(linkage, class_name)
Definition: SerializableObject.h:111
Definition: DebugRenderer.h:47
Holds a 4x4 matrix of floats, but supports also operations on the 3x3 upper left part of the matrix.
Definition: Mat44.h:13
The path for a path constraint. It allows attaching two bodies to each other while giving the second ...
Definition: PathConstraintPath.h:21
bool IsLooping() const
Definition: PathConstraintPath.h:49
Definition: Reference.h:101
Definition: Reference.h:35
Helper class that either contains a valid result or an error.
Definition: Result.h:15
Definition: SerializableObject.h:147
Simple binary input stream.
Definition: StreamIn.h:13
Simple binary output stream.
Definition: StreamOut.h:13