bool IsControlPointSet( int index )

book_4_sparkGenerated
code_blocksInput

Description

The IsControlPointSet method checks whether a control point at a specified index is set within the SceneParticles object. Control points are used to define positions, rotations, or other attributes that influence the behavior and appearance of particles in a particle system.

Usage

To use the IsControlPointSet method, call it on an instance of SceneParticles and pass the index of the control point you want to check. The method returns a boolean value indicating whether the control point is set.

Example

// Create an instance of SceneParticles
SceneParticles particles = new SceneParticles();

// Check if the control point at index 0 is set
bool isSet = particles.IsControlPointSet(0);

if (isSet)
{
    // Control point is set, proceed with operations
    Console.WriteLine("Control point 0 is set.");
}
else
{
    // Control point is not set, handle accordingly
    Console.WriteLine("Control point 0 is not set.");
}