Table of Contents

Class RenderCollectionOptions

Namespace
Gym.Wrappers
Assembly
Gym.dll

The keyword arguments of RenderCollection<TObs, TAct>'s constructor as a typed record (DR-34), generated from the constructor so it cannot drift from it. A property that is set becomes a keyword argument by its Python name; one left unset is not passed, so make keeps the registered spec's value and the constructor its default.

public sealed record RenderCollectionOptions : IGymOptions, IEquatable<RenderCollectionOptions>
Inheritance
RenderCollectionOptions
Implements
Inherited Members
Extension Methods

Properties

PopFrames

Clear the collection whenever Render() returns it. The pop_frames keyword argument, passed on only once set.

public bool PopFrames { get; init; }

Property Value

bool

ResetClean

Clear the collection on every reset. The reset_clean keyword argument, passed on only once set.

public bool ResetClean { get; init; }

Property Value

bool

Methods

ToKwargs()

The set properties as keyword arguments by Python name, in constructor order.

public Info ToKwargs()

Returns

Info

A new dict the caller owns.