unreal.MaterialSpriteElement¶
- class unreal.MaterialSpriteElement(material=None, distance_to_opacity_curve=None, size_is_in_screen_space=False, base_size_x=32.0, base_size_y=32.0, distance_to_size_curve=None)¶
Bases:
unreal.StructBaseMaterial 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¶
[Read-Write] Base Size X: The base width of the sprite, multiplied with the DistanceToSizeCurve.
- Type
(float)
- property base_size_y¶
[Read-Write] Base Size Y: The base height of the sprite, multiplied with the DistanceToSizeCurve.
- Type
(float)
- property distance_to_opacity_curve¶
[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¶
[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¶
[Read-Write] Material: The material that the sprite is rendered with.
- Type