DinoFracture 2.11.1
A Dynamic Fracture Library
Loading...
Searching...
No Matches

DinoFracture.FractureGeometry.UVBoundsSerializable Struct Reference

Unity cannot handle the serializable attribute on types defined in dlls. This wraps a DinoFracture.UVBounds type. More...

Public Member Functions

 UVBoundsSerializable (in Vector2 startUV, in Vector2 endUV)
 Constructor taking the bounds.
 

Public Attributes

Vector2 StartUV
 Start UV coordinates. Expected to be in the range [0..1].
 
Vector2 EndUV
 End UV coordinates. Expected to be in the range [0..1].
 

Detailed Description

Unity cannot handle the serializable attribute on types defined in dlls. This wraps a DinoFracture.UVBounds type.

Member Data Documentation

◆ EndUV

Vector2 DinoFracture.FractureGeometry.UVBoundsSerializable.EndUV

End UV coordinates. Expected to be in the range [0..1].

Coord (0, 0) is the bottom left of the texture. Coord (1, 1) is the top right of the texture.

◆ StartUV

Vector2 DinoFracture.FractureGeometry.UVBoundsSerializable.StartUV

Start UV coordinates. Expected to be in the range [0..1].

Coord (0, 0) is the bottom left of the texture. Coord (1, 1) is the top right of the texture.