Click or drag to resize

VisualFadeToTransparency Method

Change the transparency of the visual over a given time period. Note that this may have no effect if the visual has a texture in its material.

Namespace: Demo3D.Visuals
Assembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntax
C#
public void FadeToTransparency(
	double transparency,
	double seconds
)

Parameters

transparency  Double
Transparency to transition to. A value of 0.0 is fully transparent (see-through), and 1.0 is opaque.
seconds  Double
How long the transition should take
See Also