Class PointCloudRenderModule
Allows to add the visit/render method for the PointCloudComponent to a SceneRendererForward or SceneRendererDeferred.
Inheritance
System.Object
PointCloudRenderModule
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.Core.Scene
Assembly: Fusee.PointCloud.Core.dll
Syntax
public class PointCloudRenderModule : IRendererModule, IVisitorModule
Constructors
PointCloudRenderModule(Boolean)
Creates a new instance of type PointCloudRenderModule.
Declaration
public PointCloudRenderModule(bool doRenderForward)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | doRenderForward | Propagated the render type (forward or deferred) to the RenderContext. |
Methods
RenderPointCloud(PointCloudComponent)
Determines visible points of a point cloud (using the components VisibilityTester) and renders them.
Declaration
public void RenderPointCloud(PointCloudComponent pointCloud)
Parameters
Type | Name | Description |
---|---|---|
PointCloudComponent | pointCloud | The point cloud component. |
UpdateCamera(Camera)
Sets the currently used Camera.
Declaration
public void UpdateCamera(Camera cam)
Parameters
Type | Name | Description |
---|---|---|
Camera | cam |
UpdateContext(RenderContext)
Sets the render context for the given scene.
Declaration
public void UpdateContext(RenderContext rc)
Parameters
Type | Name | Description |
---|---|---|
RenderContext | rc |
UpdateRenderLayer(RenderLayers)
Sets the currently used RenderLayer.
Declaration
public void UpdateRenderLayer(RenderLayers renderLayer)
Parameters
Type | Name | Description |
---|---|---|
RenderLayers | renderLayer |
UpdateState(RendererState)
Sets the render context for the given scene.
Declaration
public void UpdateState(RendererState state)
Parameters
Type | Name | Description |
---|---|---|
RendererState | state |