IRenderTexture
Visión general
IRenderTexture es una interfaz en Aspose.3D FOSS para .NET. Hereda de: IRenderTarget, IDisposable.
La interfaz de render texture
Esta interfaz proporciona 1 método para trabajar con objetos IRenderTexture en programas .NET. Los métodos disponibles incluyen: CreateViewport. Todos los miembros públicos son accesibles a cualquier aplicación .NET después de instalar el paquete Aspose.3D FOSS para .NET. Propiedades: DepthTexture, Size, Targets, Viewports.
Propiedades
| Nombre | Tipo | Acceso | Descripción |
|---|---|---|---|
Targets | IList<ITextureUnit> | Lectura | Objetivos de salida de color. |
DepthTexture | ITextureUnit | Lectura | Textura del búfer de profundidad |
Size | Vector2 | Lectura/Escritura | Obtiene o establece el tamaño del objetivo de renderizado. |
Viewports | IList<Viewport> | Lectura | Obtiene todos los viewports que están asociados con este render target. |
Métodos
| Firma | Descripción |
|---|---|
CreateViewport(camera: Camera, backgroundColor: Vector3, rect: RelativeRectangle) | Crea un viewport con el color de fondo especificado y la posición/tamaño en la perspectiva de cámara especificada. |