Click or drag to resize
Ab4d.SharpEngine logo

PixelsNode Methods

The PixelsNode type exposes the following members.

Methods
 NameDescription
Public methodCollectRenderingItems CollectRenderingItems
(Overrides SceneNodeCollectRenderingItems(RenderingContext))
Protected methodDisconnectMaterial DisconnectMaterial
Protected methodDisconnectMesh DisconnectMesh
Protected methodDispose Dispose
(Overrides SceneNodeDispose(Boolean))
Public methodDisposeRenderingItems DisposeRenderingItems
(Overrides SceneNodeDisposeRenderingItems)
Public methodGetCenterPosition Returns center position of this ModelNode. Center position is calculated from the center position of the Positions that are transformed by the Transform (when applyTransformation is true).
(Overrides RenderedNodeGetCenterPosition(Boolean, Boolean))
Public methodGetLocalBoundingBox Gets the BoundingBox of this SceneNode in local coordinates. The BoundingBox is transformed by transformation on this SceneNode but not by parent's transformations. When updateIfDirty parameter is true (by default), then this method will also call UpdateLocalBoundingBox method. When updateIfDirty parameter is false then the current value of protected localBoundingBox field is returned.
(Overrides SceneNodeGetLocalBoundingBox(Boolean))
Public methodGetMaterial Returns the PixelMaterial that is used by this PixelsNode.
Public methodGetMesh Returns the PositionsMesh that is used by this PixelsNode.
Public methodGetOverviewText GetOverviewText adds string that writes details about this SceneNode into the specified StringBuilder.
(Overrides SceneNodeGetOverviewText(StringBuilder, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean))
Protected methodOnInitializeSceneResources Initializes resources with the specified Scene and GpuDevice. This method can be overriden and is called from InitializeSceneResources(Scene) method.
(Overrides InitializedSceneComponentOnInitializeSceneResources(Scene, VulkanDevice))
Protected methodOnIsVisibleChanged OnIsVisibleChanged is called when the value of IsVisible property is changed. Overridden implementations should update the IsVisible property of the RenderingItem objects that were already added to RenderingLayers.
(Overrides SceneNodeOnIsVisibleChanged(Boolean))
Protected methodOnUpdate OnUpdate
(Overrides SceneNodeOnUpdate)
Protected methodOnWorldMatrixChanged OnWorldMatrixChanged
(Overrides SceneNodeOnWorldMatrixChanged)
Public methodRemoveTexture Removes the texture that was set by calling SetTexture method.
Public methodSetTexture(GpuImage, CommonSamplerTypes, Single) SetTexture method sets the specified texture to be rendered for each pixel. To remove the texture, set the pixelTexture to null or call RemoveTexture.
Public methodSetTexture(GpuImage, Color4, CommonSamplerTypes, Single) SetTexture method sets the specified texture to be rendered for each pixel. To remove the texture, set the pixelTexture to null or call RemoveTexture.
Public methodSetTexture(GpuImage, Color4, GpuSampler, Single) SetTexture method sets the specified texture to be rendered for each pixel. To remove the texture, set the pixelTexture to null or call RemoveTexture.
Protected methodUpdateLocalBoundingBox UpdateLocalBoundingBox
(Overrides SceneNodeUpdateLocalBoundingBox)
Public methodUpdatePixelColors UpdatePixelColors must be called when the values in the PixelColors array is changed. The method recreates the GpuBuffer that defined the pixel color data for the graphics card.
Public methodUpdatePixelSizes UpdatePixelSizes must be called when the values in the PixelSizes array is changed. The method recreates the GpuBuffer that defined the pixel sizes data for the graphics card.
Public methodUpdatePositions UpdatePositions must be called when the values in the Positions array is changed. The method recreates the GpuBuffer that defined the positions data for the graphics card.
Public methodUpdatePositions(BoundingBox) UpdatePositions must be called when the values in the Positions array is changed. The method recreates the GpuBuffer that defined the positions data for the graphics card.
Protected methodUpdateWorldBoundingBox UpdateWorldBoundingBox
(Overrides SceneNodeUpdateWorldBoundingBox)
Public methodUsePixelColor UsePixelColor can be called after calling UsePixelColor to disable using pixel index color.
Public methodUsePixelIndexColor UsePixelIndexColor updated the PixelMaterial to use pixel index color rendering (sets the UsePixelIndexColor to true). To disable using pixel index color, call UsePixelColor.
Public methodUsePixelIndexColor(Color4) UsePixelIndexColor updated the PixelMaterial to use pixel index color rendering (sets the UsePixelIndexColor to true). The specified addedColor is added to the calculated color from the pixel index. To disable using pixel index color, call UsePixelColor.
Top
See Also