public static Offset <FEnvironmentDescription> CreateFEnvironmentDescription(FlatBufferBuilder builder, Offset <FObjective> objectiveOffset = default(Offset <FObjective>), VectorOffset available_objectivesOffset = default(VectorOffset), VectorOffset actorsOffset = default(VectorOffset), VectorOffset configurablesOffset = default(VectorOffset), VectorOffset sensorsOffset = default(VectorOffset)) { builder.StartObject(5); FEnvironmentDescription.AddSensors(builder, sensorsOffset); FEnvironmentDescription.AddConfigurables(builder, configurablesOffset); FEnvironmentDescription.AddActors(builder, actorsOffset); FEnvironmentDescription.AddAvailableObjectives(builder, available_objectivesOffset); FEnvironmentDescription.AddObjective(builder, objectiveOffset); return(FEnvironmentDescription.EndFEnvironmentDescription(builder)); }
public static FEnvironmentDescription GetRootAsFEnvironmentDescription(ByteBuffer _bb, FEnvironmentDescription obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }