Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)

Enlighten API 3.10 Documentation
Results will update as you type.
  • class Geo GeoTokenList
  • class Geo GeoTokenStream
  • class Geo GeoTriangle
  • class Geo GeoTriple
  • class Geo GeoUniqueDelegatePtr
  • class Geo GeoUniquePtr
  • class Geo GeoUniqueReleasePtr
  • class Geo GeoV128Texture
  • class Geo GeoVariant
  • class Geo GeoVirtualPageAllocator
  • class Geo GeoZLibFileStream
  • class Geo GoodRNG
  • class Geo IdentDataCompare
  • class Geo IdentVertLinkBuilder
  • class Geo IdxLink
  • class Geo IffReader
  • class Geo IffTextWriter
  • class Geo IffWriter
  • class Geo IGeoEvent
  • class Geo IGeoInputStream
  • class Geo IGeoProgressProxy
  • class Geo IGeoRayTracingContext
  • class Geo IGeoReleasable
  • class Geo IGeoSerialisable
  • class Geo IGeoStream
  • class Geo IRtMesh
  • class Geo ITerminalCmdHandler
  • class Geo ITerminalDelegate
  • class Geo ITerminalInputHandler
  • class Geo ITerminalOutputHandler
  • class Geo Matrix
  • class Geo MemoryAllocator
  • class Geo NonCopyable
  • class Geo Optional
  • class Geo PackedInteger4
  • class Geo PointLeaf
  • class Geo PointSplit
  • class Geo PointSplitBounds
  • class Geo PointSplitState
  • class Geo QuickTaskTimer
  • class Geo RayResult
  • class Geo Releasable
  • class Geo RingBuffer
  • class Geo RtMesh
  • class Geo RtMeshGroup
  • class Geo ScopedTickCounter
  • class Geo ScopedTimer
  • class Geo SHCoeff
  • class Geo SimpleRNG
  • class Geo TerminalProvider
  • class Geo TextureWriter
  • class Geo TreeNode
  • class Geo TriGroupSelection
  • class Geo TxtProgressBar
  • namespace Geo Iff
  • namespace Geo PathUtils
  • namespace Geo Version
  • struct Geo ArrayRange
  • struct Geo AtlasMeshChartingFlags
  • struct Geo AtlasMeshTriangle
  • struct Geo AtlasMeshTriangleCorner
  • struct Geo AtlasMeshVertex
  • struct Geo AtlasMeshVertexSplitResult
  • struct Geo BboxEdge
  • struct Geo BboxFace
  • struct Geo ClippedRay
  • struct Geo DebugLine
  • struct Geo eWindingOrder
  • struct Geo FixedSizeArray
  • struct Geo GeoAtomic
  • struct Geo GeoError
  • struct Geo GeoFixedPoolList
  • struct Geo GeoFixedPoolMap
  • struct Geo GeoPoint2
  • struct Geo GeoPoint2D
  • struct Geo GeoPoint3
  • struct Geo GeoPoint3D
  • struct Geo GeoRGBXTextureElement
  • struct Geo GeoVector3
  • struct Geo GeoVector4
  • struct Geo InitRayTracing
    Calendars

You‘re viewing this with anonymous access, so some content might be blocked.
/
class Geo RayResult

    This is the documentation for Enlighten.

    class Geo RayResult

    Nov 21, 2019

    class Geo::RayResult

    The result of a ray intersection test.

    Functions

    Name Description
    GetIsFrontFacing()

    Is the intersection on the front-face of the triangle?

    GetIsIntersection()

    Checks if there was an intersection.

    GetIsPointOccluded(const Rayf &, const Geo::v128 &)

    Checks if the given point is behind the intersection of the given ray.

    GetRayIntersection(const Rayf &)

    Gets the point of intersection.

    GetRayIntersectionDistance(const Rayf &)

    Gets the distance along the ray at the intersection.

    GetTriangleIdx()

    Gets the index of the intersected triangle. If this is negative nothing was intersected.

    GetTValue()

    Gets the t-value along the ray at the intersection point.


    bool Geo::RayResult::GetIsFrontFacing


    public: bool GetIsFrontFacing() const


    Is the intersection on the front-face of the triangle?


    bool Geo::RayResult::GetIsIntersection


    public: bool GetIsIntersection() const


    Checks if there was an intersection.


    bool Geo::RayResult::GetIsPointOccluded


    public: bool GetIsPointOccluded
    (
        const Rayf & ray,
        const Geo::v128 & point
    ) const


    Checks if the given point is behind the intersection of the given ray.


    Geo::v128 Geo::RayResult::GetRayIntersection


    public: Geo::v128 GetRayIntersection
    (
        const Rayf & ray
    ) const


    Gets the point of intersection.


    float Geo::RayResult::GetRayIntersectionDistance


    public: float GetRayIntersectionDistance
    (
        const Rayf & ray
    ) const


    Gets the distance along the ray at the intersection.


    Geo::s32 Geo::RayResult::GetTriangleIdx


    public: Geo::s32 GetTriangleIdx() const


    Gets the index of the intersected triangle. If this is negative nothing was intersected.


    float Geo::RayResult::GetTValue


    public: float GetTValue() const


    Gets the t-value along the ray at the intersection point.

    , multiple selections available,
    {"serverDuration": 9, "requestCorrelationId": "af87ec197ef047f5a71d404db7c174c3"}