载入中...
搜索中...
未找到
StrandsDatas.cpp
浏览该文件的文档.
Stable, structured diagnostics shared by engine modules.
static Diagnostic error(DiagnosticCode code, std::string message, std::string path={}, DiagnosticDetails details={}, std::string source={})
Construct an error diagnostic with the standard error severity.
Definition Diagnostic.h:125
static Result failure(Status status)
Construct a failed result from a structured status.
Definition Result.h:175
std::span< const StrandCurve > curves() const
Borrowed curves; invalidated by mutation.
Definition StrandsDatas.h:71
Result< void > validate() const
Verify offsets, counts, and finite values.
Definition StrandsDatas.cpp:41
void computeBounds(glm::vec3 &outMin, glm::vec3 &outMax) const
Axis-aligned bounds of all points; empty → zero box at origin.
Definition StrandsDatas.cpp:88
std::span< const StrandPoint > points() const
Borrowed points; invalidated by mutation.
Definition StrandsDatas.h:69
std::span< const StrandPoint > curvePoints(size_t curveIndex) const
Borrowed points of one curve.
Definition StrandsDatas.cpp:81
Procedural hair/fur card meshes + material/LOD helpers (no strand simulation).
Definition Graphics.h:58
@ InvalidArgument
@ InvariantViolation
One strand as a contiguous point range. @ownership Value type owned by StrandsDatas.
Definition StrandsDatas.h:29
One control point on a hair curve (UE FHairStrandsDatas point analogue). @ownership Value type owned ...
Definition StrandsDatas.h:18