The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall
UE3:LensFlare (UDK)
Object >> LensFlare |
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Properties[edit]
Property group 'Bounds'[edit]
bUseFixedRelativeBoundingBox[edit]
Type: bool
If TRUE, use the given bounds. If FALSE and a static mesh is set for the source, the static mesh bounds will be used. If FALSE and no static mesh is set, it will use the default bounds (likely not a good thing).
FixedRelativeBoundingBox[edit]
Type: Object.Box
The fixed bounding box to use when bUseFixedRelativeBoundingBox is TRUE
Property group 'Debug'[edit]
bRenderDebugLines[edit]
Type: bool
Debugging helpers
Property group 'Occlusion'[edit]
ScreenPercentageMap[edit]
Type: DistributionFloat.RawDistributionFloat
The mapping of screen coverage percentage (the result returned by occlusion checks) to the value passed into the materials for LensFlareOcclusion.
Default value:
Member | Value |
---|---|
Distribution | DistributionScreenPercentageMap |
LookupTable |
|
LookupTableChunkSize | 1 |
LookupTableNumElements | 1 |
Op | 1 |
Property group 'Reflections'[edit]
ReflectionsDPG[edit]
Type: Scene.ESceneDepthPriorityGroup
Modifiers: const
The scene depth priority group to draw the reflection primitive(s) in.
Default value: SDPG_Foreground
Property group 'Source'[edit]
SourceDPG[edit]
Type: Scene.ESceneDepthPriorityGroup
Modifiers: const
The scene depth priority group to draw the source primitive in.
Default value: SDPG_World
SourceMesh[edit]
Type: StaticMesh
The StaticMesh to use as the source (optional)
Property group 'Visibility'[edit]
ConeFudgeFactor[edit]
Type: float
Default value: 0.5
InnerCone[edit]
Type: float
OuterCone[edit]
Type: float
Viewing cone angles.
Radius[edit]
Type: float
Internal variables[edit]
CurveEdSetup[edit]
Type: InterpCurveEdSetup
Modifiers: export
Used for curve editor to remember curve-editing setup.
ReflectionCount[edit]
Type: int
Modifiers: transient
Internal variable used to initialize new entries in the Reflectsions array
Reflections[edit]
Type: array<LensFlareElement>
Modifiers: editinline, export
The individual reflection elements of the lens flare
SourceElement[edit]
Type: LensFlareElement
Modifiers: editinline, export
The Source of the lens flare
Default value:
Member | Value | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Alpha |
|
||||||||||||
AxisScaling |
|
||||||||||||
bIsEnabled | True | ||||||||||||
Color |
|
||||||||||||
DistMap_Alpha |
|
||||||||||||
DistMap_Color |
|
||||||||||||
DistMap_Scale |
|
||||||||||||
ElementName | 'Source' | ||||||||||||
LFMaterialIndex |
|
||||||||||||
Offset |
|
||||||||||||
Rotation |
|
||||||||||||
Scaling |
|
||||||||||||
Size |
|
ThumbnailAngle[edit]
Type: Object.Rotator
The angle to use when rendering the thumbnail image
ThumbnailDistance[edit]
Type: float
The distance to place the system when rendering the thumbnail image
ThumbnailImage[edit]
Type: Texture2D
Internal: The thumbnail image
ThumbnailImageOutOfDate[edit]
Type: bool
Internal: Indicates the thumbnail image is out of date
Structs[edit]
LensFlareElement[edit]
Modifiers: native
LensFlare Element
- name ElementName
- The name of the element. (Optional)
- float RayDistance
- The position along the ray from the source to the viewpoint to render the flare at.
0.0 = At the source 1.0 = The source point reflected about the view center. < 0 = The point along the ray going away from the center past the source. > 1 = The point along the ray beyond the 'end point' of the ray reflection.
- bool bIsEnabled
- Whether the element is enabled or not
- bool bUseSourceDistance
- Whether the element value look ups should use the radial distance
from the center to the edge of the screen or the ratio of the distance from the source element.
- bool bNormalizeRadialDistance
- Whether the radial distance should be normalized to a unit value.
Without this, the radial distance will be 0..1 in the horizontal and vertical cases. It will be 0..1.4 in the corners.
- bool bModulateColorBySource
- Whether the element color value should be scaled by the source color.
- Object.Vector Size
- The 'base' size of the element
- array<MaterialInterface> LFMaterials
- The material(s) to use for the flare element.
- DistributionFloat.RawDistributionFloat LFMaterialIndex
- Index of the material to use from the LFMaterial array.
- DistributionFloat.RawDistributionFloat Scaling
- Global scaling.
- DistributionVector.RawDistributionVector AxisScaling
- Anamorphic scaling.
- DistributionFloat.RawDistributionFloat Rotation
- Rotation.
- DistributionVector.RawDistributionVector Color
- Color (passed to the element material via the VertexColor expression)
- DistributionFloat.RawDistributionFloat Alpha
- Alpha (passed to the element material via the VertexColor expression)
- DistributionVector.RawDistributionVector Offset
- Offset.
- DistributionVector.RawDistributionVector DistMap_Scale
- Value to scale the AxisScaling by. Uses source to camera distance to look up the value (in Unreal units)
- DistributionVector.RawDistributionVector DistMap_Color
- Value to scale the Color by. Uses source to camera distance to look up the value (in Unreal units)
- DistributionFloat.RawDistributionFloat DistMap_Alpha
- Value to scale the Alpha by. Uses source to camera distance to look up the value (in Unreal units)
Default values:
Property | Value | ||||
---|---|---|---|---|---|
Alpha |
|
||||
AxisScaling |
|
||||
bNormalizeRadialDistance | True | ||||
Color |
|
||||
DistMap_Alpha |
|
||||
DistMap_Color |
|
||||
DistMap_Scale |
|
||||
LFMaterialIndex |
|
||||
Offset |
|
||||
RayDistance | 0.0 | ||||
Rotation |
|
||||
Scaling |
|
LensFlareElementCurvePair[edit]
Modifiers: native, transient
Helper for getting curves from distributions