ZatPoint

From ZDoom Wiki
Jump to navigation Jump to search
Note: This feature is for ZScript only.

SecPlane

native clearscope double ZatPoint(Vector2 v) const

Usage

Gets the z height of the SecPlane at the given xy coordinate. This can be used to get the ceiling or floor height of a Sector or 3D floor. Note that this method of doing it will not account for sector portals.

Parameters

  • v - The absolute xy map coordinate to check.

Return Value

Returns the z height of the plane at the given point.

Examples

Nuvolachalk.png Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contributions are greatly appreciated.