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 |
meshlayerinstance | iVec2 | picked mesh layer instance coordinate |
normal | Vec3 | picked normal |
polygon | number | picked polygon, for models |
position | Vec3 | picked position |
texcoords | table | array of picked texture coordinates, for brushes or models |