Viewport3DVisual 类

定义

在指定的二维视区边界内呈现 Visual3D 子对象。Renders the Visual3D children within the specified 2D viewport bounds.

public ref class Viewport3DVisual sealed : System::Windows::Media::Visual
[System.Windows.Markup.ContentProperty("Children")]
public sealed class Viewport3DVisual : System.Windows.Media.Visual
[<System.Windows.Markup.ContentProperty("Children")>]
type Viewport3DVisual = class
    inherit Visual
[<System.Windows.Markup.ContentProperty("Children")>]
type Viewport3DVisual = class
    inherit Visual
    interface DUCE.IResource
Public NotInheritable Class Viewport3DVisual
Inherits Visual
继承
属性

注解

Viewport3DVisual是具有三维子级的2D 视觉对象。The Viewport3DVisual is a 2D Visual with 3D children. Viewport3DVisual 元素提供必要的基础结构 Viewport3DThe Viewport3DVisual provides necessary infrastructure for the Viewport3D element. 大多数用户将需要使用 Viewport3D 元素。Most users will want to use the Viewport3D element.

构造函数

Viewport3DVisual()

初始化 Viewport3DVisual 类的新实例。Initializes a new instance of the Viewport3DVisual class.

字段

CameraProperty

标识 Camera 依赖项属性。Identifies the Camera dependency property.

ViewportProperty

标识 Viewport 依赖项属性。Identifies the Viewport dependency property.

属性

BitmapEffect
已过时。
已过时。

获取或设置应用于 Viewport3DVisual 的 BitmapEffectGets or sets the BitmapEffect applied to the Viewport3DVisual.

BitmapEffectInput
已过时。
已过时。

获取或设置应用于 BitmapEffectInputViewport3DVisualGets or sets the BitmapEffectInput applied to the Viewport3DVisual.

Camera

获取或设置由 Camera 使用的 Viewport3DVisualGets or sets the Camera used by the Viewport3DVisual.

Children

获取 Visual3D 包含的 Viewport3DVisual 对象的集合。Gets a collection of Visual3D objects contained by Viewport3DVisual.

Clip

获取或设置 Viewport3DVisual 的剪辑区域。Gets or sets the clipping region of the Viewport3DVisual.

ContentBounds

获取 Viewport3DVisual 内容的边界框。Gets the bounding box for the contents of the Viewport3DVisual.

DependencyObjectType

获取对此实例的 CLRCLR 类型进行包装的 DependencyObjectTypeGets the DependencyObjectType that wraps the CLRCLR type of this instance.

(继承自 DependencyObject)
DescendantBounds

获取 Viewport3DVisual 的所有后代的所有内容边界框的联合,但不包括 Viewport3DVisual 的内容。Gets the union of all of the content bounding boxes for all of the descendants of the Viewport3DVisual, but not including the contents of the Viewport3DVisual.

Dispatcher

获取与此 Dispatcher 关联的 DispatcherObjectGets the Dispatcher this DispatcherObject is associated with.

(继承自 DispatcherObject)
IsSealed

获取一个值,该值指示此实例当前是否为密封的(只读)。Gets a value that indicates whether this instance is currently sealed (read-only).

(继承自 DependencyObject)
Offset

获取或设置 Viewport3DVisual 的偏移量值。Gets or sets the offset value of the Viewport3DVisual.

Opacity

获取或设置 Viewport3DVisual 的不透明度。Gets or sets the opacity of the Viewport3DVisual.

OpacityMask

获取或设置 Viewport3DVisual 的不透明掩码值。Gets or sets the opacity mask value of the Viewport3DVisual.

Parent

获取 Viewport3DVisual 的父 VisualGets the parent Visual for the Viewport3DVisual.

Transform

获取或设置 Viewport3DVisual 的转换值。Gets or sets the transform value of the Viewport3DVisual.

Viewport

获取或设置将在其中呈现 Viewport3DVisual 的矩形。Gets or sets the rectangle in which the Viewport3DVisual will be rendered.

VisualBitmapEffect
已过时。
已过时。

获取或设置 BitmapEffectVisual 值。Gets or sets the BitmapEffect value for the Visual.

(继承自 Visual)
VisualBitmapEffectInput
已过时。
已过时。

获取或设置 BitmapEffectInputVisual 值。Gets or sets the BitmapEffectInput value for the Visual.

(继承自 Visual)
VisualBitmapScalingMode

获取或设置 BitmapScalingModeVisualGets or sets the BitmapScalingMode for the Visual.

(继承自 Visual)
VisualCacheMode

获取或设置 Visual 的缓存表示形式。Gets or sets a cached representation of the Visual.

(继承自 Visual)
VisualChildrenCount

获取 Visual 的子元素数量。Gets the number of child elements for the Visual.

(继承自 Visual)
VisualClearTypeHint

获取或设置 ClearTypeHint,它确定在 Visual 中呈现 ClearType 的方式。Gets or sets the ClearTypeHint that determines how ClearType is rendered in the Visual.

(继承自 Visual)
VisualClip

获取或设置 Visual 的剪辑区域作为 Geometry 值。Gets or sets the clip region of the Visual as a Geometry value.

(继承自 Visual)
VisualEdgeMode

获取或设置 Visual 的边缘模式作为 EdgeMode 值。Gets or sets the edge mode of the Visual as an EdgeMode value.

(继承自 Visual)
VisualEffect

获取或设置要应用于 Visual 的位图效果。Gets or sets the bitmap effect to apply to the Visual.

(继承自 Visual)
VisualOffset

获取或设置可视对象的偏移量值。Gets or sets the offset value of the visual object.

(继承自 Visual)
VisualOpacity

获取或设置 Visual 的不透明度。Gets or sets the opacity of the Visual.

(继承自 Visual)
VisualOpacityMask

获取或设置 Brush 值,该值表示 Visual 的不透明蒙板。Gets or sets the Brush value that represents the opacity mask of the Visual.

(继承自 Visual)
VisualParent

获取可视对象的可视化树父级。Gets the visual tree parent of the visual object.

(继承自 Visual)
VisualScrollableAreaClip

获取或设置 Visual 的剪辑的可滚动区域。Gets or sets a clipped scrollable area for the Visual.

(继承自 Visual)
VisualTextHintingMode

获取或设置 VisualTextHintingModeGets or sets the TextHintingMode of the Visual.

(继承自 Visual)
VisualTextRenderingMode

获取或设置 VisualTextRenderingModeGets or sets the TextRenderingMode of the Visual.

(继承自 Visual)
VisualTransform

获取或设置 TransformVisual 值。Gets or sets the Transform value for the Visual.

(继承自 Visual)
VisualXSnappingGuidelines

获取或设置 x 坐标(垂直)准线集合。Gets or sets the x-coordinate (vertical) guideline collection.

(继承自 Visual)
VisualYSnappingGuidelines

获取或设置 Y 坐标(水平)准线集合。Gets or sets the y-coordinate (horizontal) guideline collection.

(继承自 Visual)

方法

AddVisualChild(Visual)

定义两个可视对象之间的父子关系。Defines the parent-child relationship between two visuals.

(继承自 Visual)
CheckAccess()

确定调用线程是否可以访问此 DispatcherObjectDetermines whether the calling thread has access to this DispatcherObject.

(继承自 DispatcherObject)
ClearValue(DependencyProperty)

清除属性的本地值。Clears the local value of a property. 要清除的属性由 DependencyProperty 标识符指定。The property to be cleared is specified by a DependencyProperty identifier.

(继承自 DependencyObject)
ClearValue(DependencyPropertyKey)

清除只读属性的本地值。Clears the local value of a read-only property. 要清除的属性由 DependencyPropertyKey 指定。The property to be cleared is specified by a DependencyPropertyKey.

(继承自 DependencyObject)
CoerceValue(DependencyProperty)

对指定依赖属性的值进行强制。Coerces the value of the specified dependency property. 通过对调用方 DependencyObject 上存在的依赖属性的属性元数据中所指定的任何 CoerceValueCallback 函数进行调用来完成此操作。This is accomplished by invoking any CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling DependencyObject.

(继承自 DependencyObject)
Equals(Object)

确定提供的 DependencyObject 是否等效于当前 DependencyObjectDetermines whether a provided DependencyObject is equivalent to the current DependencyObject.

(继承自 DependencyObject)
FindCommonVisualAncestor(DependencyObject)

返回两个可视对象的公共上级。Returns the common ancestor of two visual objects.

(继承自 Visual)
GetHashCode()

获取此 DependencyObject 的哈希代码。Gets a hash code for this DependencyObject.

(继承自 DependencyObject)
GetLocalValueEnumerator()

创建一个专用的枚举数,用于确定哪些依赖项属性在此 DependencyObject 上具有以本地方式设置的值。Creates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject.

(继承自 DependencyObject)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
GetValue(DependencyProperty)

DependencyObject 的此实例返回依赖属性的当前有效值。Returns the current effective value of a dependency property on this instance of a DependencyObject.

(继承自 DependencyObject)
GetVisualChild(Int32)

返回父级 Visual 中的指定 VisualCollectionReturns the specified Visual in the parent VisualCollection.

(继承自 Visual)
HitTest(HitTestFilterCallback, HitTestResultCallback, HitTestParameters)

使用 Viewport3DVisualHitTestFilterCallback 对象启动 HitTestResultCallback 上的命中测试。Initiate a hit test on the Viewport3DVisual by using the HitTestFilterCallback and HitTestResultCallback objects.

HitTest(Point)

返回在指定的 Point 处执行的命中测试的最顶层可视对象。Returns the top-most visual object of a hit test performed at a specified Point.

HitTestCore(GeometryHitTestParameters)

确定可视对象的边界中是否存在几何图形值。Determines whether a geometry value is within the bounds of the visual object.

(继承自 Visual)
HitTestCore(PointHitTestParameters)

确定点坐标值是否在可视对象的边界内。Determines whether a point coordinate value is within the bounds of the visual object.

(继承自 Visual)
InvalidateProperty(DependencyProperty)

重新评估指定依赖属性的有效值。Re-evaluates the effective value for the specified dependency property.

(继承自 DependencyObject)
IsAncestorOf(DependencyObject)

确定可视对象是否为后代可视对象的上级。Determines whether the visual object is an ancestor of the descendant visual object.

(继承自 Visual)
IsDescendantOf(DependencyObject)

确定可视对象是否为上级可视对象的后代。Determines whether the visual object is a descendant of the ancestor visual object.

(继承自 Visual)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
OnDpiChanged(DpiScale, DpiScale)

呈现此视图时所使用的 DPI 发生变化时进行调用。Called when the DPI at which this View is rendered changes.

(继承自 Visual)
OnPropertyChanged(DependencyPropertyChangedEventArgs)

每当更新此 DependencyObject 的任何依赖属性的有效值时调用。Invoked whenever the effective value of any dependency property on this DependencyObject has been updated. 更改的特定依赖属性将在事件数据中报告。The specific dependency property that changed is reported in the event data.

(继承自 DependencyObject)
OnVisualChildrenChanged(DependencyObject, DependencyObject)

修改可视对象的 VisualCollection 时调用。Called when the VisualCollection of the visual object is modified.

(继承自 Visual)
OnVisualParentChanged(DependencyObject)

当可视对象的父级更改时调用。Called when the parent of the visual object is changed.

(继承自 Visual)
PointFromScreen(Point)

将屏幕坐标中的 Point 转换为表示 Point 的当前坐标系的 VisualConverts a Point in screen coordinates into a Point that represents the current coordinate system of the Visual.

(继承自 Visual)
PointToScreen(Point)

将表示 Point 的当前坐标系的 Visual 转换为屏幕坐标中的 PointConverts a Point that represents the current coordinate system of the Visual into a Point in screen coordinates.

(继承自 Visual)
ReadLocalValue(DependencyProperty)

如果存在,则返回依赖属性的本地值。Returns the local value of a dependency property, if it exists.

(继承自 DependencyObject)
RemoveVisualChild(Visual)

移除两个可视对象之间的父子关系。Removes the parent-child relationship between two visuals.

(继承自 Visual)
SetCurrentValue(DependencyProperty, Object)

设置依赖属性的值而不更改其值源。Sets the value of a dependency property without changing its value source.

(继承自 DependencyObject)
SetValue(DependencyProperty, Object)

设置依赖属性的本地值,该值由其依赖属性标识符指定。Sets the local value of a dependency property, specified by its dependency property identifier.

(继承自 DependencyObject)
SetValue(DependencyPropertyKey, Object)

设置一个只读依赖属性的本地值,该值由依赖属性的 DependencyPropertyKey 标识符指定。Sets the local value of a read-only dependency property, specified by the DependencyPropertyKey identifier of the dependency property.

(继承自 DependencyObject)
ShouldSerializeProperty(DependencyProperty)

返回一个值,该值指示序列化进程是否应序列化所提供的依赖属性的值。Returns a value that indicates whether serialization processes should serialize the value for the provided dependency property.

(继承自 DependencyObject)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)
TransformToAncestor(Visual)

返回一个转换,该转换可用于将 Visual 中的坐标转换为可视对象的指定 Visual 上级。Returns a transform that can be used to transform coordinates from the Visual to the specified Visual ancestor of the visual object.

(继承自 Visual)
TransformToAncestor(Visual3D)

返回一个转换,该转换可用于将 Visual 中的坐标转换为可视对象的指定 Visual3D 上级。Returns a transform that can be used to transform coordinates from the Visual to the specified Visual3D ancestor of the visual object.

(继承自 Visual)
TransformToDescendant(Visual)

返回一个转换,该转换可用于将 Visual 中的坐标转换为指定的可视对象后代。Returns a transform that can be used to transform coordinates from the Visual to the specified visual object descendant.

(继承自 Visual)
TransformToVisual(Visual)

返回一个转换,该转换可用于将 Visual 中的坐标转换为指定的可视对象。Returns a transform that can be used to transform coordinates from the Visual to the specified visual object.

(继承自 Visual)
VerifyAccess()

强制调用线程具有此 DispatcherObject 的访问权限。Enforces that the calling thread has access to this DispatcherObject.

(继承自 DispatcherObject)

适用于

另请参阅