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.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] The base width of the sprite, multiplied with the DistanceToSizeCurve.base_size_y
(float): [Read-Write] The base height of the sprite, multiplied with the DistanceToSizeCurve.distance_to_opacity_curve
(CurveFloat): [Read-Write] A curve that maps distance on the X axis to the sprite opacity on the Y axis.distance_to_size_curve
(CurveFloat): [Read-Write] A curve that maps distance on the X axis to the sprite size on the Y axis.material
(MaterialInterface): [Read-Write] The material that the sprite is rendered with.size_is_in_screen_space
(bool): [Read-Write] Whether the size is defined in screen-space or world-space.
- property base_size_x¶
[Read-Write] The base width of the sprite, multiplied with the DistanceToSizeCurve.
- Type
(float)
- property base_size_y¶
[Read-Write] The base height of the sprite, multiplied with the DistanceToSizeCurve.
- Type
(float)
- property distance_to_opacity_curve¶
[Read-Write] 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] A curve that maps distance on the X axis to the sprite size on the Y axis.
- Type
- property material¶
[Read-Write] The material that the sprite is rendered with.
- Type