Loading...
Searching...
No Matches
Classes |
Public Member Functions |
Static Public Member Functions |
Public Attributes |
Properties |
List of all members
realvirtual.IKJobManager Class Reference
Centralized manager for parallel IK job execution across multiple robots. More...
Inheritance diagram for realvirtual.IKJobManager:
Public Member Functions | |
| void | QueueIKCalculation (RobotIK robot, Vector3 globalPos, Quaternion globalRot, int solution, bool turnCorrection, System.Action< bool > onComplete=null) |
| Queue an IK calculation for parallel execution. | |
| void | ProcessAllJobs () |
| Process all queued IK jobs in parallel. | |
Static Public Member Functions | |
| static IKJobManager | GetOrCreate () |
| Get or create the singleton instance. | |
Public Attributes | |
| int | JobsProcessedThisFrame |
| int | TotalJobsProcessed |
Properties | |
| static IKJobManager | Instance [get] |
| int | QueuedJobCount [get] |
| Number of jobs currently queued for next batch. | |
Detailed Description
Centralized manager for parallel IK job execution across multiple robots.
Uses Unity's Job System to run ALL robot IK calculations truly in parallel.
Usage:
- Each IKPath calls QueueIKCalculation() during FixedUpdate
- IKJobManager (with high Script Execution Order) calls ProcessAllJobs() at end of FixedUpdate
- All IK jobs run in parallel on worker threads, then callbacks are invoked with results
Member Function Documentation
◆ GetOrCreate()
|
static |
Get or create the singleton instance.
◆ ProcessAllJobs()
| void realvirtual.IKJobManager.ProcessAllJobs | ( | ) |
Process all queued IK jobs in parallel.
Schedules all jobs, waits for parallel completion, then invokes callbacks.
◆ QueueIKCalculation()
| void realvirtual.IKJobManager.QueueIKCalculation | ( | RobotIK | robot, |
| Vector3 | globalPos, | ||
| Quaternion | globalRot, | ||
| int | solution, | ||
| bool | turnCorrection, | ||
| System::Action< bool > | onComplete = null |
||
| ) |
Queue an IK calculation for parallel execution.
Jobs are batched and executed together when ProcessAllJobs() is called.
Property Documentation
◆ QueuedJobCount
|
get |
Number of jobs currently queued for next batch.