2019年10月13日 星期日

helixtoolkit 3D基本元件

ASUS X450J @ Windows 10 x64/ VS2017

<h:HelixViewport3D>
            <h:HelixViewport3D.Camera>
                <PerspectiveCamera Position="0 0 50"
                                   LookDirection="0 0 -1"
                                   UpDirection="0 1 0"/>
            </h:HelixViewport3D.Camera>
            <h:DefaultLights/>
            <!-- 3D Model -->
<h:HelixViewport3D>

1.  <h:BillboardVisual3D Position="1 1 40" Width="240" Height="140"></h:BillboardVisual3D>
2. <h:BillboardTextVisual3D Position="1 1 40" Text="周重石" FontSize="60"/>

3. <h:ArrowVisual3D Point1="-20 7 0" Point2="1 1 40" Diameter="1" Direction="1 1 0"></h:ArrowVisual3D>
4. <h:BoxVisual3D Center="1 1 30" Width="2" Height="2" Length="2"  Fill="Green" />
5. <h:CubeVisual3D Center="1 1 30" SideLength="2"  >
6. <h:EllipsoidVisual3D Center="1 1 30" PhiDiv="3" RadiusX="2" RadiusY="2" RadiusZ="3">

7. <h:HelixVisual3D  Diameter="3" Fill="GreenYellow" Length="25" Radius="1">
8. <h:LinesVisual3D Color="Black" Thickness="15"  Points="0 0 0 5 5 0">
9. <h:PieSliceVisual3D Center="0 -10 0" Fill="Red" EndAngle="120" StartAngle="0" OuterRadius="20" InnerRadius="5">
10. <h:RectangleVisual3D Length="5"    LengthDirection="1 1 1" Width="2">
11. <h:PipeVisual3D Diameter="10" Fill="Yellow" InnerDiameter="5" Point1="0 0 0" Point2="-10 -10 0"  >
12.<h:SphereVisual3D Radius="5" Center="-10 0 0"/>
13. <h:TubeVisual3D AddCaps="True" Angles="45" Diameter="8" Fill="Aqua" Path="0 0 0 -10 10 10 -10 10 -10">




沒有留言:

張貼留言