I know that a ModelVisual3D
can be rotated around any axis via AxisAngleRotation3D
, but is it possible to do the same with Viewport3D that contains 9 ModelVisual3D
s, so they are rotated together as if they are one object.. for example I can do this with ModelVisual3D
:
<Viewport3D.Triggers>
<EventTrigger RoutedEvent="Viewport3D.Loaded">
<BeginStoryboard>
<Storyboard>
<DoubleAnimation
Storyboard.TargetName="myVerticalRotation"
Storyboard.TargetProperty="Angle"
From="0" To="360" Duration="0:0:10"
RepeatBehavior="Forever" />
<DoubleAnimation
Storyboard.TargetName="myHorizontalRotation"
Storyboard.TargetProperty="Angle"
From="0" To="360" Duration="0:0:9"
RepeatBehavior="Forever" />
</Storyboard>
</BeginStoryboard>
</EventTrigger>
</Viewport3D.Triggers>
but this presumes that Viewport3D
contains only one ModelVisual3D