Show / Hide Table of Contents

Class MakePointCloudEffect

Static class that contains methods that create Effects for rendering point clouds.

Inheritance
System.Object
MakePointCloudEffect
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fusee.PointCloud.Common
Assembly: Fusee.PointCloud.Common.dll
Syntax
public static class MakePointCloudEffect

Methods

ForColorPass(Int32, ColorMode, PointSizeMode, PointShape, Single, Int32)

The SurfaceEffectPointCloud used for point cloud rendering.

Declaration
public static SurfaceEffectPointCloud ForColorPass(int size, ColorMode colorMode, PointSizeMode pointSizeMode, PointShape shape, float edlStrength, int edlNeigbourPx)
Parameters
Type Name Description
System.Int32 size

The point size.

ColorMode colorMode

The ColorMode.

PointSizeMode pointSizeMode

The PointSizeMode.

PointShape shape

The PointShape.

System.Single edlStrength

The strength of the EDL lighting.

System.Int32 edlNeigbourPx

Number of pixels, used in the EDL lighting calculation.

Returns
Type Description
SurfaceEffectPointCloud

ForColorPassInstanced(Int32, ColorMode, PointSizeMode, PointShape, Single, Int32)

The SurfaceEffectPointCloud used for point cloud rendering.

Declaration
public static SurfaceEffectPointCloud ForColorPassInstanced(int size, ColorMode colorMode, PointSizeMode pointSizeMode, PointShape shape, float edlStrength, int edlNeigbourPx)
Parameters
Type Name Description
System.Int32 size

The point size.

ColorMode colorMode

The ColorMode.

PointSizeMode pointSizeMode

The PointSizeMode.

PointShape shape

The PointShape.

System.Single edlStrength

The strength of the EDL lighting.

System.Int32 edlNeigbourPx

Number of pixels, used in the EDL lighting calculation.

Returns
Type Description
SurfaceEffectPointCloud

ForDepthPass(Int32, PointSizeMode, PointShape)

ShaderEffect for rendering the depth-only pass. The result is used for EDL lighting. Only needed when using forward rendering.

Declaration
public static ShaderEffect ForDepthPass(int size, PointSizeMode pointSizeMode, PointShape shape)
Parameters
Type Name Description
System.Int32 size

The point size.

PointSizeMode pointSizeMode

The PointSizeMode.

PointShape shape

The PointShape.

Returns
Type Description
ShaderEffect

ForDepthPassInstanced(Int32, PointSizeMode, PointShape)

ShaderEffect for rendering the depth-only pass. The result is used for EDL lighting. Only needed when using forward rendering.

Declaration
public static ShaderEffect ForDepthPassInstanced(int size, PointSizeMode pointSizeMode, PointShape shape)
Parameters
Type Name Description
System.Int32 size

The point size.

PointSizeMode pointSizeMode

The PointSizeMode.

PointShape shape

The PointShape.

Returns
Type Description
ShaderEffect
Generated by DocFX
GitHub Repo
Back to top