Lua
C++
Edit

PickInfo

This class contains information from the results of a ray cast.

Property Type Description
entity Entity picked entity
face Face picked face, for brushes
mesh Mesh picked mesh, for models
meshlayer int index of picked mesh layer, or -1
meshlayerinstance iVec2 picked mesh layer instance coordinate
normal Vec3 picked normal
polygon uint32_t picked polygon, for models
position Vec3 picked position
success bool true if anything is hit or false for nothing hit
texcoords array<Vec2, 2> picked texture coordinates, for brushes or models
Copyright © 2024 Ultra Software.
All rights reserved.