API reference
API reference
Select your platform
No SDKs available
No versions available

TextureCoordinateModes Class

Represents the texture coordinate modes for walls and anchors and defines how texture coordinates are calculated for different surfaces based on specified modes.
See WallTextureCoordinateModeU, WallTextureCoordinateModeV, and AnchorTextureCoordinateMode for more details.

Fields

Specifies the texture coordinate mode for the U-axis of wall texture.
To achieve seamless textures that highlight each wall the WallTextureCoordinateModeU should be set to WallTextureCoordinateModeU.STRETCH_SECTION
  • METRIC: The texture coordinates start at 0 and increase by 1 unit every meter.
  • METRIC_SEAMLESS: The texture coordinates start at 0 and increase by 1 unit every meter but are adjusted to end on a whole number to avoid seams.
  • MAINTAIN_ASPECT_RATIO: The texture coordinates are adjusted to the V dimensions to ensure the aspect ratio is maintained.
  • MAINTAIN_ASPECT_RATIO_SEAMLESS: The texture coordinates are adjusted to the V dimensions to ensure the aspect ratio is maintained but are adjusted to end on a whole number to avoid seams.
  • STRETCH: The texture coordinates range from 0 to
  • STRETCH_SECTION: The texture coordinates start at 0 and increase to 1 for each individual wall section.
Specifies the texture coordinate mode for the V-axis of wall textures.
To achieve seamless textures that highlight each wall the WallTextureCoordinateModeV should be set to WallTextureCoordinateModeV.STRETCH_SECTION
  • METRIC: The texture coordinates start at 0 and increase by 1 unit every meter.
  • METRIC_SEAMLESS: The texture coordinates start at 0 and increase by 1 unit every meter but are adjusted to end on a whole number to avoid seams.
  • MAINTAIN_ASPECT_RATIO: The texture coordinates are adjusted to the U dimensions to ensure the aspect ratio is maintained.
  • MAINTAIN_ASPECT_RATIO_SEAMLESS: The texture coordinates are adjusted to the U dimensions to ensure the aspect ratio is maintained but are adjusted to end on a whole number to avoid seams.
  • STRETCH: The texture coordinates range from 0 to
  • STRETCH_SECTION: The texture coordinates start at 0 and increase to 1 for each individual wall section.
Specifies the texture coordinate mode for anchor surfaces.
  • METRIC: The texture coordinates start at 0 and increase by 1 unit every meter.
  • STRETCH: The texture coordinates range from 0 to 1 across the anchor surface.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon