Viewport
Visión general
Viewport es una clase en Aspose.3D FOSS para .NET.
Un contiene al menos un viewport para renderizar la escena.
Propiedades: Area, BackgroundColor, DepthClear, Enabled, Frustum, RenderTarget, y 1 más.
Propiedades
| Nombre | Tipo | Acceso | Descripción |
|---|---|---|---|
Frustum | Frustum | Lectura/Escritura | Obtiene o establece la cámara de este |
Enabled | bool | Lectura/Escritura | Habilitar o deshabilitar este viewport. |
RenderTarget | IRenderTarget | Lectura | Obtiene el render target que creó este viewport. |
Area | RelativeRectangle | Lectura/Escritura | Obtiene o establece el área del viewport en el objetivo de renderizado. |
ZOrder | int | Lectura/Escritura | Obtiene o establece el Z-order del viewport. |
BackgroundColor | Vector3 | Lectura/Escritura | Obtiene o establece el color de fondo del viewport. |
DepthClear | float | Lectura/Escritura | Obtiene o establece el valor de profundidad usado al limpiar el viewport con el bit del depth buffer activado. |