Class VolumetricLightmapDensityVolume
Provides local control over volumetric lightmap density. Only convex shapes supported.
Inherited Members
Namespace: UE4.Engine
Assembly: UE4DotNet.dll
Syntax
public class VolumetricLightmapDensityVolume : Volume
Properties
| Improve this Doc View SourceAllowedMipLevelRange
The Volumetric Lightmap has 3 mipmaps, where the highest density mipmap (mip0) corresponds to VolumetricLightmapDetailCellSize.
Declaration
public Int32Interval AllowedMipLevelRange { get; set; }
Property Value
Type | Description |
---|---|
Int32Interval |
Remarks
mip0: DetailCellSize mip1: DetailCellSize * 4 mip2: DetailCellSize * 16
By default, highest density will be placed around static geometry and static lights, but AllowedMipLevelRange can be used to override this behavior. Examples: [0, 3] = Volume does nothing [1, 3] = Volume removes highest density mip, even near static geometry, which can be useful to save memory ('stat MapBuildData') [0, 0] = Volume forces highest density. Warning: using this on a large area can greatly increase memory and build times! When multiple volumes overlap, the smallest (highest density) values will be used.
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static VolumetricLightmapDensityVolume DefaultObject { get; }
Property Value
Type | Description |
---|---|
VolumetricLightmapDensityVolume |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceNew(UObject, Name)
Spawn an object of this class
Declaration
public static VolumetricLightmapDensityVolume New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
VolumetricLightmapDensityVolume |
Operators
| Improve this Doc View SourceImplicit(IntPtr to VolumetricLightmapDensityVolume)
Convert from IntPtr to UObject
Declaration
public static implicit operator VolumetricLightmapDensityVolume(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
VolumetricLightmapDensityVolume |