Condividi tramite


ModelVisual3D.Transform Proprietà

Definizione

Ottiene o imposta la trasformazione impostata a ModelVisual3D.

public:
 property System::Windows::Media::Media3D::Transform3D ^ Transform { System::Windows::Media::Media3D::Transform3D ^ get(); void set(System::Windows::Media::Media3D::Transform3D ^ value); };
public System.Windows.Media.Media3D.Transform3D Transform { get; set; }
member this.Transform : System.Windows.Media.Media3D.Transform3D with get, set
Public Property Transform As Transform3D

Valore della proprietà

Oggetto Transform3D impostato su ModelVisual3D.

Esempio

<ModelVisual3D.Transform>
    <Transform3DGroup >
        <Transform3DGroup.Children>
            <RotateTransform3D x:Name="myHorizontalRTransform">
                <RotateTransform3D.Rotation>
                    <AxisAngleRotation3D x:Name="myHorizontalRotation" Angle="0" Axis="0 1 0" />
                </RotateTransform3D.Rotation>
            </RotateTransform3D>
            <RotateTransform3D x:Name="myVerticalRTransform">
                <RotateTransform3D.Rotation>
                    <AxisAngleRotation3D x:Name="myVerticalRotation" Angle="0" Axis="1 0 0" />
                </RotateTransform3D.Rotation>
            </RotateTransform3D>
            <TranslateTransform3D x:Name="myTranslateTransform" OffsetX="0" OffsetY="0" OffsetZ="0" />
        </Transform3DGroup.Children>
    </Transform3DGroup>
</ModelVisual3D.Transform>

Commenti

Informazioni proprietà di dipendenza

Campo Identificatore TransformProperty
Proprietà dei metadati impostate su true Nessuno

Si applica a