unreal.MaterialSpriteElement
¶
- class unreal.MaterialSpriteElement(material: MaterialInterface = Ellipsis, distance_to_opacity_curve: CurveFloat = Ellipsis, size_is_in_screen_space: bool = False, base_size_x: float = 0.0, base_size_y: float = 0.0, distance_to_size_curve: CurveFloat = Ellipsis)¶
Bases:
StructBase
Material Sprite Element
C++ Source:
Module: Engine
File: MaterialBillboardComponent.h
Editor Properties: (see get_editor_property/set_editor_property)
base_size_x
(float): [Read-Write] Base Size X: The base width of the sprite, multiplied with the DistanceToSizeCurve.base_size_y
(float): [Read-Write] Base Size Y: The base height of the sprite, multiplied with the DistanceToSizeCurve.distance_to_opacity_curve
(CurveFloat): [Read-Write] Distance to Opacity Curve: A curve that maps distance on the X axis to the sprite opacity on the Y axis.distance_to_size_curve
(CurveFloat): [Read-Write] Distance to Size Curve: A curve that maps distance on the X axis to the sprite size on the Y axis.material
(MaterialInterface): [Read-Write] Material: The material that the sprite is rendered with.size_is_in_screen_space
(bool): [Read-Write] Size Is in Screen Space: Whether the size is defined in screen-space or world-space.
- property base_size_x: float¶
[Read-Write] Base Size X: The base width of the sprite, multiplied with the DistanceToSizeCurve.
- Type:
(float)
- property base_size_y: float¶
[Read-Write] Base Size Y: The base height of the sprite, multiplied with the DistanceToSizeCurve.
- Type:
(float)
- property distance_to_opacity_curve: CurveFloat¶
[Read-Write] Distance to Opacity Curve: A curve that maps distance on the X axis to the sprite opacity on the Y axis.
- Type:
- property distance_to_size_curve: CurveFloat¶
[Read-Write] Distance to Size Curve: A curve that maps distance on the X axis to the sprite size on the Y axis.
- Type:
- property material: MaterialInterface¶
[Read-Write] Material: The material that the sprite is rendered with.
- Type: