DrawingIn3D/PersonIn3D.xaml
(开头部分) 31KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<Window x:Class="DrawingIn3D.PersonIn3D"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="PersonIn3D" Height="551.2" Width="450.4"
>
<Window.Resources>
<ResourceDictionary Source="PersonResources.xaml"/>
</Window.Resources>
<Window.Triggers>
<EventTrigger RoutedEvent="Window.Loaded">
<BeginStoryboard>
<Storyboard>
<DoubleAnimation Storyboard.TargetName="rotate" Storyboard.TargetProperty="Angle"
Duration="0:0:10" To="360" AutoReverse="True" RepeatBehavior="Forever"></DoubleAnimation>
<DoubleAnimation Storyboard.TargetName="ArmLLOR36" Storyboard.TargetProperty="Transform.Children[4].Rotation.Angle"
Duration="0:0:3" From="50" To="-50" AutoReverse="True" RepeatBehavior="Forever"></DoubleAnimation>
</Storyboard>
</BeginStoryboard>
</EventTrigger>
</Window.Triggers>
<Grid>
<Viewport3D x:Name="ZAM3DViewport3D" ClipToBounds="true" Width="600" Height="500" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/interactivedesigner/2006" xmlns:c="http://schemas.openxmlformats.org/markup-compatibility/2006" c:Ignorable="d">
<Viewport3D.Camera>
<PerspectiveCamera x:Name="FrontOR19" FarPlaneDistance="70" LookDirection="0,0,-1" UpDirection="0,1,0" NearPlaneDistance="0.1" Position="5,-13,39.0455" FieldOfView="60" />
</Viewport3D.Camera>
<ModelVisual3D>
<ModelVisual3D.Content>
<Model3DGroup x:Name="Scene" Transform="{DynamicResource SceneTR20}">
<!-- Scene (XAML Path = ) -->
<AmbientLight Color="#333333" />
<DirectionalLight Color="#FFFFFF" Direction="-0.612372,-0.5,-0.612372" />
<DirectionalLight Color="#FFFFFF" Direction="0.612372,-0.5,-0.612373" />
<Model3DGroup x:Name="Group_of_1_ObjectsOR22" Transform="{DynamicResource Group_of_1_ObjectsOR22TR21}">
<!-- Group of 1 Objects (XAML Path = (Viewport3D.Children)[0].(ModelVisual3D.Content).(Model3DGroup.Children)[3]) -->
<Model3DGroup x:Name="PelvisOR24" Transform="{DynamicResource PelvisOR24TR23}">
<!-- Pelvis (XAML Path = (Viewport3D.Children)[0].(ModelVisual3D.Content).(Model3DGroup.Children)[3].(Model3DGroup.Children)[0]) -->
<Model3DGroup x:Name="BeltOR26" Transform="{DynamicResource BeltOR26TR25}">
<!-- Belt (XAML Path = (Viewport3D.Children)[0].(ModelVisual3D.Content).(Model3DGroup.Children)[3].(Model3DGroup.Children)[0].(Model3DGroup.Children)[0]) -->
<GeometryModel3D x:Name="BeltOR26GR27" Geometry="{DynamicResource BeltOR26GR27}" Material="{DynamicResource ER_Vector___Flat_Orange___DarkMR10}" BackMaterial="{DynamicResource ER_Vector___Flat_Orange___DarkMR10}"/>
</Model3DGroup>
<Model3DGroup x:Name="TorsoOR29" Transform="{DynamicResource TorsoOR29TR28}">
<!-- Torso (XAML Path = (Viewport3D.Children)[0].(ModelVisual3D.Content).(Model3DGroup.Children)[3].(Model3DGroup.Children)[0].(Model3DGroup.Children)[1]) -->
<Model3DGroup x:Name="TubesOR31" Transform="{DynamicResource TubesOR31TR30}">
<!-- Tubes (XAML Path = (Viewport3D.Children)[0].(ModelVisual3D.Content).(Model3DGroup.Children)[3].(Model3DGroup.Children)[0].(Model3DGroup.Children)[1].(Model3DGroup.Children)[0]) -->
<GeometryModel3D x:Name="TubesOR31GR32" Geometry="{DynamicResource TubesOR31GR32}" Material="{DynamicResource ER___Default_MaterialMR1}" BackMaterial="{DynamicResource ER___Default_MaterialMR1}"/>
</Model3DGroup>
<Model3DGroup x:Name="ArmULOR34" Transform="{DynamicResource ArmULOR34TR33}">
<!-- ArmUL (XAML Path = (Viewport3D.Children)[0].(ModelVisual3D.Content).(Model3DGroup.Children)[3].(Model3DGroup.Children)[0].(Model3DGroup.Children)[1].(Model3DGroup.Children)[1]) -->
<Model3DGroup x:Name="ArmLLOR36" Transform="{DynamicResource ArmLLOR36TR35}">
<!-- ArmLL (XAML Path = (Viewport3D.Children)[0].(ModelVisual3D.Content).(Model3DGroup.Children)[3].(Model3DGroup.Children)[0].(Model3DGroup.Children)[1].(Model3DGroup.Children)[1].(Model3DGroup.Children)[0]) -->
<Model3DGroup x:Name="PalmLOR38" Transform="{DynamicResource PalmLOR38TR37}">
<!-- PalmL (XAML Path = (Viewport3D.Children)[0].(ModelVisual3D.Content).(Model3DGroup.Children)[3].(Model3DGroup.Children)[0].(Model3DGroup.Children)[1].(Model3DGroup.Children)[1].(Model3DGroup.Children)[0].(Model3DGroup.Children)[0]) -->
<Model3DGroup x:Name="ThumbTOR40" Transform="{DynamicResource ThumbTOR40TR39}">
<!-- ThumbT (XAML Path = (Viewport3D.Children)[0].(ModelVisual3D.Content).(Model3DGroup.Children)[3].(Model3DGroup.Children)[0].(Model3DGroup.Children)[1].(Model3DGroup.Children)[1].(Model3DGroup.Children)[0].(Model3DGroup.Children)[0].(Model3DGroup.Children)[0]) -->
后面还有 174 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
