![]() |
|
ConeUIElement3D Point Set - Printable Version +- AB4D Forum (https://forum.ab4d.com) +-- Forum: Products Forums (https://forum.ab4d.com/forumdisplay.php?fid=4) +--- Forum: Ab3d.PowerToys (https://forum.ab4d.com/forumdisplay.php?fid=9) +--- Thread: ConeUIElement3D Point Set (/showthread.php?tid=230) |
ConeUIElement3D Point Set - brians - 01-24-2012 Hi, Does anyone know if there is a set of Points I can have access to if I have a ConeUIElement3D with say, 10 Segments? I have the BottomCenterPosition and radius etc but wondered if there's a way to get, for instance, the corner points of each segment etc, a lower-level description of the cone? thanks in advance Brian RE: ConeUIElement3D Point Set - abenedik - 01-24-2012 Each UIElement3D from Ab3d.PowerToys has a Model property. You can get the Positions, TriangleIndices, TextureCoordinates and Normals from the MeshGeometry3D - see the following code (if Cone1 is the name of the ConeUIElement3D): GeometryModel3D geometryModel3D = (GeometryModel3D)Cone1.Model; MeshGeometry3D mesh = (MeshGeometry3D)geometryModel3D.Geometry; RE: ConeUIElement3D Point Set - brians - 01-25-2012 Thank you! :) |