Transform — Aspose.3D FOSS for .NET
Example
Example Transform class يعرّف التحويل المحلي لـ Node في رسم المشهد. يخزن الإزاحة، الدوران (كـ Quaternion)، والقياس كخصائص منفصلة. تُستخدم مصفوفة التحويل المركبة داخليًا لحساب موضع العقدة في الفضاء العالمي عبر GlobalTransform.
using Aspose.ThreeD;
var scene = new Scene();
var node = scene.RootNode.CreateChildNode("Moved");
node.Transform.Translation = new FVector3(5, 0, 0);
node.Transform.Scale = new FVector3(2, 2, 2);Example
| Example | Example | Example | Example |
|---|---|---|---|
Translation | FVector3 | الحصول/التعيين | إزاحة الموضع المحلي |
Rotation | Quaternion | الحصول/التعيين | دوران محلي كوحدة كواترنيون |
Scale | FVector3 | الحصول/التعيين | معامل مقياس محلي |
Matrix | Matrix4 | الحصول/التعيين | مصفوفة التحويل المحلي المركبة |