Unigine.ObjectIntersection Class
ObjectIntersection Class
Перечисления (Enums)
TYPE#
Имя | Описание |
---|---|
OBJECT_INTERSECTION = 0 | ObjectIntersection (stores only the point of intersection, surface and triangle indices). |
OBJECT_INTERSECTION_NORMAL = 1 | ObjectIntersectionNormal (stores the point of intersection, surface and triangle indices + normal coordinates at the point of intersection). |
OBJECT_INTERSECTION_TEX_COORD = 2 | ObjectIntersectionTexCoord (stores the point of intersection, surface and triangle indices + normal and texture coordinates at the point of intersection). |
NUM_OBJECT_INTERSECTIONS = 3 | Number of object intersection types. |
Properties
int Instance#
The number of the intersected instance.
Intersected instance number can be obtained for the following classes:
int Index#
The number of the intersected triangle.
vec3 Point#
The Coordinates of the intersection point.
string TypeName#
The Object intersection type name.
ObjectIntersection.TYPE Type#
The Object intersection type identifier.
Members
ObjectIntersection ( ) #
The ObjectIntersection constructor.Last update:
13.12.2024
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter