Class HastySpace
Definition
- Assembly:
- Tizen.NUI.Physics2D.dll
Similar to Space, but with ARM NEON optimizations in the solver.
public sealed class HastySpace : Space
- Inheritance
Constructors
View SourceHastySpace()
On ARM platforms that support NEON, this will enable the vectorized solver. HastySpace also supports multiple threads, but runs single threaded by default for determinism.
Declaration
public HastySpace()
Properties
View SourceThreads
The number of threads to use for the solver. Currently Chipmunk is limited to 2 threads as using more generally provides very minimal performance gains. Passing 0 as the thread count on iOS or OS X will cause Chipmunk to automatically detect the number of threads it should use. On other platforms passing 0 for the thread count will set 1 thread.
Declaration
public int Threads { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
View SourceFreeSpace(IntPtr)
Destroy and free the hasty space.
Declaration
protected override void FreeSpace(IntPtr handle)
Parameters
Type | Name | Description |
---|---|---|
IntPtr | handle |
Step(double)
Step in the hasty space.
Declaration
public override sealed void Step(double dt)
Parameters
Type | Name | Description |
---|---|---|
double | dt |