FMjCompilerSettings¶
Compiler settings parsed from the
element of an MJCF file.
These affect how orientation attributes are interpreted.
| Attribute | Value |
|---|---|
| Kind | Struct |
Properties¶
Public Properties¶
| Property | Type | Description |
|---|---|---|
bAngleInDegrees |
bool |
If true, angles (euler, axisangle) are in degrees. If false (default), radians. |
EulerSeq |
FString |
Euler rotation sequence, e.g. "xyz", "XYZ", "zyx". Default "xyz" (intrinsic). |
MeshDir |
FString |
Base directory for mesh file paths (from meshdir attribute). Empty = same dir as XML. |
AssetDir |
FString |
Base directory for all asset paths (from assetdir attribute). Overrides meshdir for meshes if both present. |
bAutoLimits |
bool |
If true, joints/tendons with a range attribute are automatically treated as limited (from autolimits). |
bAngleInDegrees¶
If true, angles (euler, axisangle) are in degrees. If false (default), radians.
- Type: bool
EulerSeq¶
Euler rotation sequence, e.g. "xyz", "XYZ", "zyx". Default "xyz" (intrinsic).
- Type: FString
MeshDir¶
Base directory for mesh file paths (from
meshdirattribute). Empty = same dir as XML.
- Type: FString
AssetDir¶
Base directory for all asset paths (from
assetdirattribute). Overrides meshdir for meshes if both present.
- Type: FString
bAutoLimits¶
If true, joints/tendons with a
rangeattribute are automatically treated as limited (fromautolimits).
- Type: bool
Functions¶
Public Functions¶
General¶
| Function | Returns | Description |
|---|---|---|
ResolveMeshPath() |
FString |
Helper: resolve a relative mesh path using MeshDir / AssetDir with the given XML directory as the root. |
ResolveMeshPath¶
Helper: resolve a relative mesh path using MeshDir / AssetDir with the given XML directory as the root.
- Signature:
ResolveMeshPath(const FString&RelPath,const FString&XmlDir) - Returns: FString