Skip to main content

ProfilingPositionCycler.ProfilingPosition

A class in Root.Township, the global namespace.

A named camera spot (position and rotation) in the ProfilingPositionCycler global settings. The profiler moves the camera through these in turn.

Constructors​

MemberWhat it is
ProfilingPosition(Transform refTransform)Creates a ProfilingPositionCycler.ProfilingPosition from refTransform.

Fields​

MemberWhat it is
string nameLabel for the spot, used in the profiling results.
Vector3 positionWorld position to place the camera at.
Quaternion rotationCamera rotation at this spot. Defaults to identity.

Used in​

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