载入中...
搜索中...
未找到
ControlRig.h 文件参考
#include "animation/AnimMath.h"
#include "common/Export.h"
#include "common/Result.h"
#include <array>
#include <memory>
#include <string>
#include <string_view>
#include <vector>

浏览源代码.

类

struct  eve::animation::RigKey
 Stable authored control key; time is seconds, transform is parent-local. 更多...
 
struct  eve::animation::RigAxisLimit
 Limited bounds include the neutral value (0 for position/angle, 1 for scale). 更多...
 
struct  eve::animation::RigControlLimits
 Owning parent-local limits; rotation is reference-relative XYZ in degrees. 更多...
 
struct  eve::animation::RigControl
 Authored control or null. Empty parent means skeleton model space. 更多...
 
struct  eve::animation::RigNode
 A solve node; after names prerequisite nodes. Stable declaration order breaks ties. 更多...
 
struct  eve::animation::RigDefinition
 Owning, versioned rig authoring data; no runtime pointers or indices. 更多...
 
class  eve::animation::ControlRig
 Compiled rig with an owned skeleton snapshot and indexed solve schedule. @ownership Owns all retained inputs. Returned pose/transform values are independent. @thread One owner thread per instance; independent instances may evaluate concurrently. @reentrancy No callbacks. Inputs are borrowed only for each synchronous call. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::animation
 

枚举

enum class  eve::animation::RigAxisMode { eve::animation::Free , eve::animation::Locked , eve::animation::Limited }
 Axis freedom relative to a constraint reference pose. 更多...
 
enum class  eve::animation::RigOperation { eve::animation::FK , eve::animation::Aim , eve::animation::TwoBoneIK }
 Ordered rig operation; controls and bones use persistent names. 更多...
 

函数

Result< void > eve::animation::validateRigDefinition (const RigDefinition &definition)
 Validate data-only rig constraints without a runtime skeleton.
 
EVENGINE_API_WORLD Result< TransformTRS > eve::animation::constrainRigControl (const RigControlLimits &limits, const TransformTRS &transform)
 Project a local TRS into limits, returning an owned value or invalid-config diagnostic.
 
EVENGINE_API_WORLD Result< Value > eve::animation::encodeControlRig (const RigDefinition &definition)
 Encode a validated rig as eve.control-rig v2. Pure, no callbacks, owns result.
 
EVENGINE_API_WORLD Result< RigDefinition > eve::animation::decodeControlRig (const Value &value)
 Decode atomically; rejects unknown versions/fields. Pure, no retained input references.
 
Result< void > eve::animation::reparentRigControl (RigDefinition &definition, std::string_view control, std::string_view parent)
 Reparent a control while preserving its initial model transform; rejects animated controls.