Description:

Constructs a new basic texture from a SimulatedTexture.

Syntax:
public static RenderTexture NewBitmapTexture(
SimulatedTexture texture,
RhinoDoc doc
)
Parameters:
  • doc
  • Type: RhinoDoc
  • The document to associate the texture with.
Returns:
A new render texture.
Available since:
6.4

Description:

Constructs a new basic texture from a SimulatedTexture.

Syntax:
public static RenderTexture NewBitmapTexture(
SimulatedTexture texture
)
deprecated in 6.4
Parameters:
Returns:
A new render texture.
Available since:
5.3

Description:

Constructs a new basic texture from a Bitmap.

Syntax:
public static RenderTexture NewBitmapTexture(
Bitmap bitmap,
RhinoDoc doc
)
Parameters:
  • bitmap
  • Type: System.Drawing.Bitmap
  • The bitmap to create the basic texture from.
  • doc
  • Type: RhinoDoc
  • The document to associate the texture with.
Returns:
A new render texture.
Remarks:
The returned bitmap texture holds a copy of 'bitmap'.
Available since:
7.0

NewBitmapTexture method

Class:  Rhino.Render.RenderTexture

Nothing found