Textures Resources¶
Texture data objects that place images on elements
Doc links:
_BaseData
_BaseResource
_BaseTexture
_BaseUIDModel
HasProperties
TextureProjection
-
class
lfview.resources.spatial.textures.
_BaseTexture
(**kwargs)¶ Base class for texture data
Optional Properties:
- description (
ShortString
): Description of resource, a unicode string and less than 5000 characters - name (
ShortString
): Name or title of resource, a unicode string and less than 300 characters - uid (
String
): Unique object identifier, a unicode string
- description (
-
class
lfview.resources.spatial.textures.
TextureProjection
(**kwargs)¶ Simple texture data that projects an image onto an element
Using origin and axes, this defines an image location in space. When this texture is applied to an element, the image from the texture is projected normal to its plane onto the element.
This is ideal for projecting surface imagery onto a topographic surface.
Required Properties:
- axis_u (
Vector3
): Vector corresponding to the image horizontal axis, a 3D Vector of <class ‘float’> with shape (3) - axis_v (
Vector3
): Vector corresponding to the image vertical axis, a 3D Vector of <class ‘float’> with shape (3) - image (
Image
instance or UID): Texture image file, an instance of Image or a valid uid property of that class - origin (
Vector3
): Origin point of the texture, a 3D Vector of <class ‘float’> with shape (3)
Optional Properties:
- description (
ShortString
): Description of resource, a unicode string and less than 5000 characters - name (
ShortString
): Name or title of resource, a unicode string and less than 300 characters - uid (
String
): Unique object identifier, a unicode string
- axis_u (