Table of Contents

Struct Intersection

Namespace
TaleWorlds.Engine
Assembly
TaleWorlds.Engine.dll
[EngineStruct("rglIntersection", false)]
public struct Intersection
Inherited Members
Extension Methods

Fields

Details

[CustomEngineStructMemberData("intersection_details")]
public IntersectionDetails Details

Field Value

IntersectionDetails

IntersectionNormal

public Vec3 IntersectionNormal

Field Value

Vec3

IntersectionPoint

public Vec3 IntersectionPoint

Field Value

Vec3

Penetration

public float Penetration

Field Value

float

Type

[CustomEngineStructMemberData("intersection_type")]
public IntersectionType Type

Field Value

IntersectionType

Methods

DoSegmentsIntersect(Vec2, Vec2, Vec2, Vec2, ref Vec2)

public static bool DoSegmentsIntersect(Vec2 line1Start, Vec2 line1Direction, Vec2 line2Start, Vec2 line2Direction, ref Vec2 intersectionPoint)

Parameters

line1Start Vec2
line1Direction Vec2
line2Start Vec2
line2Direction Vec2
intersectionPoint Vec2

Returns

bool

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).