Skip to main content

CylindricalBoundsSurfaceSaveData

A class in Root.Township, Alta.Chunks.

Saved settings for a CylindricalBoundsSurface: the arc, height and radii it raycasts across to find spawn positions.

Constructors​

MemberWhat it is
CylindricalBoundsSurfaceSaveData()Creates a CylindricalBoundsSurfaceSaveData with default values.

Fields​

MemberWhat it is
float arcHow far round the cylinder rays can start, in radians (entered in degrees and converted on load).
float heightMaximum height above the surface's origin that a ray can start at.
float maxOffsetMaximum sideways offset of a ray's start point, either side of the radial direction.
float raycastEndRadiusRadius the ray stops at. If it is less than the start radius, the ray is cast inwards instead.
float raycastStartRadiusRadius the ray starts at, measured out from the surface's centre.

Used in​

Members of other types that take, return or hold a CylindricalBoundsSurfaceSaveData: