Show / Hide Table of Contents

    FUxtHandProximityMeshData

    Utility class for constructing a cone-shaped mesh for proximity detection.

    The volume is constructed radially symmetric around the forward axis. The near face is a simple disc, while the front is a spherical section. The tip of the cylinder is the origin of the mesh.

              *------
             *       ------
            *              ------
            *                    ------
           *                           |
           * Far                       |  Near         Tip
    

    Axis <--—*------------------------—|-------------—o

    class FUxtHandProximityMeshData;
    

    Header

    #include <Input/UxtHandProximityMesh.h>

    Public Functions

    Name
    void Build(float ConeAngle, float ConeOffset, float ConeSideLength, int32 NewNumSegments)
    void UpdateMesh(UProceduralMeshComponent * Mesh, int32 Section) const

    Public Attributes

    Name
    bool bEnableLighting

    Public Functions Documentation

    function Build

    void Build(
        float ConeAngle,
        float ConeOffset,
        float ConeSideLength,
        int32 NewNumSegments
    )
    

    function UpdateMesh

    void UpdateMesh(
        UProceduralMeshComponent * Mesh,
        int32 Section
    ) const
    

    Public Attributes Documentation

    variable bEnableLighting

    bool bEnableLighting = false;
    

    Updated on 19 August 2021 at 17:42:51 Coordinated Universal Time

    • Improve this Doc
    Back to top Generated by DocFX