载入中...
搜索中...
未找到
eve::procgen::SplinePoint结构体 参考

One spline anchor with incoming and outgoing handle offsets. 更多...

#include <SplinePath.h>

Public 属性

float x = 0.f
 
float y = 0.f
 
float z = 0.f
 
float inX = 0.f
 
float inY = 0.f
 
float inZ = 0.f
 
float outX = 0.f
 
float outY = 0.f
 
float outZ = 0.f
 
float rollDegrees = 0.f
 
float scaleX = 1.f
 
float scaleY = 1.f
 
bool breakBefore = false
 
float pitchDegrees = 0.f
 
float yawDegrees = 0.f
 
SplineScaleInterpolation scaleXInterpolation
 Native-only; cubic scale is floored at 1e-4 to retain a positive frame.
 
bool worldUpFrame
 Native-only outgoing frame policy; vertical tangents use a deterministic X reference.
 
SplineRollInterpolation rollInterpolation
 Native-only owning outgoing policy.
 
float spanStrength = .5f
 Native-only outgoing Catmull tangent coefficient in [0.01,1].
 
SplineSpanControl spanControl = SplineSpanControl::Inherit
 Native-only outgoing geometry controller.
 
bool alignStraightStart = false
 
bool alignStraightEnd
 Straight-adjacent XZ alignment with zero vertical derivative; reversal swaps ends.
 
bool circularFromEnd = false
 Derive circular geometry from the following endpoint tangent after reversal.
 
float rollPivotSide = 0.f
 Local transverse roll-axis offset before scaleX; native owning value, metres.
 

详细描述

One spline anchor with incoming and outgoing handle offsets.

在文件 SplinePath.h 第 25 行定义.

类成员变量说明

◆ alignStraightEnd

bool eve::procgen::SplinePoint::alignStraightEnd
初始值:
=
false

Straight-adjacent XZ alignment with zero vertical derivative; reversal swaps ends.

在文件 SplinePath.h 第 42 行定义.

被这些函数引用 eve::procgen::road::detail::edgeToSpline() , 以及 eve::procgen_editing::detail::findUniqueInteriorIntersection().

◆ alignStraightStart

bool eve::procgen::SplinePoint::alignStraightStart = false

◆ breakBefore

bool eve::procgen::SplinePoint::breakBefore = false

在文件 SplinePath.h 第 31 行定义.

◆ circularFromEnd

bool eve::procgen::SplinePoint::circularFromEnd = false

Derive circular geometry from the following endpoint tangent after reversal.

在文件 SplinePath.h 第 44 行定义.

被这些函数引用 eve::procgen::road::detail::edgeToSpline() , 以及 eve::procgen_editing::detail::findUniqueInteriorIntersection().

◆ inX

float eve::procgen::SplinePoint::inX = 0.f

在文件 SplinePath.h 第 27 行定义.

◆ inY

float eve::procgen::SplinePoint::inY = 0.f

在文件 SplinePath.h 第 27 行定义.

◆ inZ

float eve::procgen::SplinePoint::inZ = 0.f

在文件 SplinePath.h 第 27 行定义.

◆ outX

float eve::procgen::SplinePoint::outX = 0.f

在文件 SplinePath.h 第 28 行定义.

◆ outY

float eve::procgen::SplinePoint::outY = 0.f

在文件 SplinePath.h 第 28 行定义.

◆ outZ

float eve::procgen::SplinePoint::outZ = 0.f

在文件 SplinePath.h 第 28 行定义.

◆ pitchDegrees

float eve::procgen::SplinePoint::pitchDegrees = 0.f

在文件 SplinePath.h 第 32 行定义.

◆ rollDegrees

float eve::procgen::SplinePoint::rollDegrees = 0.f

在文件 SplinePath.h 第 29 行定义.

被这些函数引用 eve::procgen::road::detail::edgeToSpline().

◆ rollInterpolation

SplineRollInterpolation eve::procgen::SplinePoint::rollInterpolation
初始值:

Native-only owning outgoing policy.

在文件 SplinePath.h 第 37 行定义.

被这些函数引用 eve::procgen::road::detail::edgeToSpline().

◆ rollPivotSide

float eve::procgen::SplinePoint::rollPivotSide = 0.f

Local transverse roll-axis offset before scaleX; native owning value, metres.

在文件 SplinePath.h 第 45 行定义.

被这些函数引用 eve::procgen::road::detail::edgeToSpline().

◆ scaleX

float eve::procgen::SplinePoint::scaleX = 1.f

在文件 SplinePath.h 第 30 行定义.

被这些函数引用 eve::procgen::road::detail::edgeToSpline().

◆ scaleXInterpolation

SplineScaleInterpolation eve::procgen::SplinePoint::scaleXInterpolation
初始值:

Native-only; cubic scale is floored at 1e-4 to retain a positive frame.

在文件 SplinePath.h 第 33 行定义.

被这些函数引用 eve::procgen::road::detail::edgeToSpline().

◆ scaleY

float eve::procgen::SplinePoint::scaleY = 1.f

在文件 SplinePath.h 第 30 行定义.

◆ spanControl

SplineSpanControl eve::procgen::SplinePoint::spanControl = SplineSpanControl::Inherit

Native-only outgoing geometry controller.

在文件 SplinePath.h 第 40 行定义.

被这些函数引用 eve::procgen::road::detail::edgeToSpline() , 以及 eve::procgen_editing::detail::findUniqueInteriorIntersection().

◆ spanStrength

float eve::procgen::SplinePoint::spanStrength = .5f

Native-only outgoing Catmull tangent coefficient in [0.01,1].

在文件 SplinePath.h 第 39 行定义.

被这些函数引用 eve::procgen::road::detail::edgeToSpline() , 以及 eve::procgen_editing::detail::findUniqueInteriorIntersection().

◆ worldUpFrame

bool eve::procgen::SplinePoint::worldUpFrame
初始值:
=
false

Native-only outgoing frame policy; vertical tangents use a deterministic X reference.

在文件 SplinePath.h 第 35 行定义.

被这些函数引用 eve::procgen::road::detail::edgeToSpline().

◆ x

float eve::procgen::SplinePoint::x = 0.f

◆ y

float eve::procgen::SplinePoint::y = 0.f

◆ yawDegrees

float eve::procgen::SplinePoint::yawDegrees = 0.f

在文件 SplinePath.h 第 32 行定义.

◆ z

float eve::procgen::SplinePoint::z = 0.f

该结构体的文档由以下文件生成: