struct TraceResult

book_4_sparkGenerated
code_blocksInput

Description

The TraceResult struct in the Editor namespace provides information about the result of a trace operation, such as whether a hit occurred, the position of the hit, the normal of the surface hit, and the map node involved.

Members

Instance Fields

Member NameSummary
HitWhether the trace hit something or not
HitPositionThe hit position of the trace
NormalThe hit surface normal (direction vector)
MapNodeThe map node that was hit, if any