Class SubUVAnimation
SubUV animation asset, which caches bounding geometry for regions in the SubUVTexture with non-zero opacity.
Inherited Members
Namespace: UE4.Engine
Assembly: UE4DotNet.dll
Syntax
public class SubUVAnimation : UObject
Remarks
Particle emitters with a SubUV module which use this asset leverage the optimal bounding geometry to reduce overdraw.
Properties
| Improve this Doc View SourceAlphaThreshold
Alpha channel values larger than the threshold are considered occupied and will be contained in the bounding geometry.
Declaration
public float AlphaThreshold { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Remarks
Raising this threshold slightly can reduce overdraw in particles using this animation asset.
BoundingMode
More bounding vertices results in reduced overdraw, but adds more triangle overhead.
Declaration
public byte BoundingMode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Byte |
Remarks
The eight vertex mode is best used when the SubUV texture has a lot of space to cut out that is not captured by the four vertex version, and when the particles using the texture will be few and large.
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static SubUVAnimation DefaultObject { get; }
Property Value
| Type | Description |
|---|---|
| SubUVAnimation |
OpacitySourceMode
Opacity Source Mode
Declaration
public byte OpacitySourceMode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Byte |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
| Type | Description |
|---|---|
| Class |
SubImages_Horizontal
The number of sub-images horizontally in the texture
Declaration
public int SubImages_Horizontal { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
SubImages_Vertical
The number of sub-images vertically in the texture
Declaration
public int SubImages_Vertical { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
SubUVTexture
Texture to generate bounding geometry from.
Declaration
public Texture2D SubUVTexture { get; set; }
Property Value
| Type | Description |
|---|---|
| Texture2D |
Methods
| Improve this Doc View SourceNew(UObject, Name)
Spawn an object of this class
Declaration
public static SubUVAnimation New(UObject obj = null, Name name = default(Name))
Parameters
| Type | Name | Description |
|---|---|---|
| UObject | obj | |
| Name | name |
Returns
| Type | Description |
|---|---|
| SubUVAnimation |
Operators
| Improve this Doc View SourceImplicit(IntPtr to SubUVAnimation)
Convert from IntPtr to UObject
Declaration
public static implicit operator SubUVAnimation(IntPtr p)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IntPtr | p |
Returns
| Type | Description |
|---|---|
| SubUVAnimation |