Skip to main content

create3DTexture

Creates a texture to be used with 3D symbols. Use this to preload textures that can be applied to existing 3D symbol markups.

Syntax

RxCore.create3DTexture(image, w, h, id)

Parameters

  • image: HTMLImageElement — The HTML image source object.
  • w: number — Width of the image in pixels.
  • h: number — Height of the image in pixels.
  • id: number — A unique ID for the symbol texture.

Returns

  • NA — This method does not return a value.