GlobalTransform — Aspose.3D FOSS for .NET
Methods
Methods GlobalTransform class מספקת תצוגה לקריאה בלבד של מטריצת ההמרה במרחב‑העולם של צומת. היא מחושבת על‑ידי חיבור ההמרות המקומיות של כל צמתים קודמים מהשורש עד הצומת הנוכחי.
גישה דרך node.GlobalTransform. המאפיין היחיד הוא Matrix (סוג Matrix4), שמכיל את ההמרה המורכבת במרחב‑העולם.
using Aspose.ThreeD;
var scene = new Scene();
var parent = scene.RootNode.CreateChildNode("Parent");
parent.Transform.Translation = new FVector3(10, 0, 0);
var child = parent.CreateChildNode("Child");
child.Transform.Translation = new FVector3(5, 0, 0);
// Access the composed world-space matrix
Matrix4 worldMatrix = child.GlobalTransform.Matrix;Methods
| Methods | Methods | Methods | Methods |
|---|---|---|---|
Matrix | Matrix4 | get | מטריצה מורכבת של טרנספורמציית מרחב‑עולם |