0
我有一個model3dgroup變換應用它看起來像這樣,3DRotation的Model3DGroup
<Transform3DGroup x:Key="B3OR34TR33">
<TranslateTransform3D OffsetX="0"
OffsetY="-1.5748"
OffsetZ="-8.10376e-011" />
<ScaleTransform3D ScaleX="1"
ScaleY="0.750021"
ScaleZ="1" />
<RotateTransform3D>
<RotateTransform3D.Rotation>
<AxisAngleRotation3D Angle="90.0000025"
Axis="1 0 0" />
</RotateTransform3D.Rotation>
</RotateTransform3D>
<TranslateTransform3D OffsetX="0"
OffsetY="0.0259444"
OffsetZ="5.51401" />
</Transform3DGroup>
還有哪些動畫上加載的model3dgroup的動畫。
<DoubleAnimationUsingKeyFrames
BeginTime="0:0:0"
Duration="0:0:0.9"
Storyboard.TargetName="B3OR34"
Storyboard.TargetProperty="(Model3D.Transform).(Transform3DGroup.Children)[3].(TranslateTransform3D.OffsetX)">
<LinearDoubleKeyFrame KeyTime="0:0:0"
Value="-38.50234985" />
<LinearDoubleKeyFrame KeyTime="0:0:0.9"
Value="0" />
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames
BeginTime="0:0:0"
Duration="0:0:0.9"
Storyboard.TargetName="B3OR34"
Storyboard.TargetProperty="(Model3D.Transform).(Transform3DGroup.Children)[3].(TranslateTransform3D.OffsetY)">
<LinearDoubleKeyFrame KeyTime="0:0:0"
Value="0.02594435215" />
<LinearDoubleKeyFrame KeyTime="0:0:0.9"
Value="0" />
</DoubleAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames
BeginTime="0:0:0"
Duration="0:0:0.9"
Storyboard.TargetName="B3OR34"
Storyboard.TargetProperty="(Model3D.Transform).(Transform3DGroup.Children)[3].(TranslateTransform3D.OffsetZ)">
<LinearDoubleKeyFrame KeyTime="0:0:0"
Value="5.514007568" />
<LinearDoubleKeyFrame KeyTime="0:0:0.9"
Value="0" />
</DoubleAnimationUsingKeyFrames>
的model3dgroup是用5個幾何[頂部,底部,前部,後部&側]的立方體。問題是,當我應用一個行爲roatate model3dgroup時,旋轉發生在geometrymodel3d之一的x軸的中間。我應該在這裏看到關於model3dgroup的中心旋轉。