Hanging Plane entation rientation asılı
Contents
[
Hide
]
Hanging Plane entation rientation asılı
Aspose.3D for .NET allows changing orientation of a scene. In order to change the orientation, Up
vector property is introduced in Plane
Class. Following code snippet shows how to change the plane’s orientation:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/aspose-3d/Aspose.3D-for-.NET | |
// Initialize scene object | |
Scene scene = new Scene(); | |
// Set Vector | |
scene.RootNode.CreateChildNode(new Plane() { Up = new Vector3(1, 1, 3) }); | |
//This will generate a plane that has customized orientation | |
scene.Save("ChangePlaneOrientation.obj"); |