Class HastySpace

    Definition

    Namespace:
    Tizen.NUI.Physics2D.Chipmunk
    Assembly:
    Tizen.NUI.Physics2D.dll

    Similar to Space, but with ARM NEON optimizations in the solver.

    public sealed class HastySpace : Space
    Inheritance
    object
    Space
    HastySpace

    Constructors

    View Source

    HastySpace()

    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 Source

    Threads

    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 Source

    FreeSpace(IntPtr)

    Destroy and free the hasty space.

    Declaration
    protected override void FreeSpace(IntPtr handle)
    Parameters
    Type Name Description
    IntPtr handle
    View Source

    Step(double)

    Step in the hasty space.

    Declaration
    public override sealed void Step(double dt)
    Parameters
    Type Name Description
    double dt
    Overrides
    Space.Step(double)

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX