Skip to content

ObjFileParser / Group

The Obj File Parser's Group class does not bring any new functionality to the table. It's just a container for index offsets that make up a group in an obj file.

namespace GL\Geometry\ObjFileParser
{
    class Group {}
}

Properties

$name

The name of the group or object

/*
 * @var string|null
 */
public readonly ?string $name;

$faceCount

The number of faces in the group

/*
 * @var int
 */
public readonly int $faceCount;

$faceOffset

The offset of the first face in the resource object

/*
 * @var int
 */
public readonly int $faceOffset;

$indexOffset

The offset of the first index in the resource object

/*
 * @var int
 */
public readonly int $indexOffset;