ZLab.Discrete ZLab.Discrete
ZLab.Discrete ZLab.Discrete
Developed by Zeke Zhang

Search Results for

    Edit this page

    Method TransformWorld

    | Edit this page View Source

    TransformWorld(Vector3)

    Translates the grid by a world-space vector. Internally shifts content by the nearest integer voxel offset.

    Declaration
    public void TransformWorld(Vector3 translation)
    Parameters
    Type Name Description
    Vector3 translation

    World-space translation.

    | Edit this page View Source

    TransformWorld(Vector3, Vector3)

    Translates the grid so that origin moves to target. Equivalent to TransformWorld(target - origin).

    Declaration
    public void TransformWorld(Vector3 origin, Vector3 target)
    Parameters
    Type Name Description
    Vector3 origin

    World-space origin point.

    Vector3 target

    World-space target point.