Sphere Radius ile orking
Contents
[
Hide
]
This özelliği 19.4 veya daha büyük sürümle desteklenir.
Sphere Radius ile Work
Using Aspose.3D for .NET, you can set of get radius of a sphere. In order to get or set radius, you can use Radius
property of Sphere
class. The following is the code sample to set radius of a sphere.
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 | |
// Create a Scene | |
Scene scene = new Scene(); | |
// Set Sphere Radius (Using Radius property you can get or set radius of Sphere) | |
scene.RootNode.CreateChildNode(new Sphere() { Radius = 10 }); | |
// Save scene | |
scene.Save("sphere.obj"); |